Hi,

I am using a webbrowser control in my application. I want to note the locations of allimagesin a given URL.

Consider a case, where someone has written a code(in a script)to change the location or size of an imagein the web page's onLoad event. This means that as soon as this function\script is executed the location changes. Ideally this function should get fired before the DocumentCompleted event and i should get the new location in the event handler of the DocumentCompleted event. But this is not happening. I am not getting the updated location\size of the image.

Is there any way i can trap the Onload event somehow or wait for the onload event to complete?

Thanks