Hello,
I'm dynamically modifying some attributes of some htmlElements, using a webbrowser control, in the DocumentCompleted event... testing for WebBrowserReadyState.Complete so I know the page is completely loaded before making the modifications.
All the modifications I'm doing work and display as expected, however a call to webrowserControl.Refresh() or .Refresh(WebBrowserRefreshOption.Completely) reverts page back to original state... I'm assuming the DocumentCompleted event does not fire on a refresh? why? and how do I handle this to make sure my changes persist refreshes?
I'm dynamically modifying some attributes of some htmlElements, using a webbrowser control, in the DocumentCompleted event... testing for WebBrowserReadyState.Complete so I know the page is completely loaded before making the modifications.
All the modifications I'm doing work and display as expected, however a call to webrowserControl.Refresh() or .Refresh(WebBrowserRefreshOption.Completely) reverts page back to original state... I'm assuming the DocumentCompleted event does not fire on a refresh? why? and how do I handle this to make sure my changes persist refreshes?