Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Going at the end of a browser page
Message
 
To
07/01/2005 01:35:17
General information
Forum:
ASP.NET
Category:
Web forms
Miscellaneous
Thread ID:
00974921
Message ID:
00974977
Views:
27
Hello Michel,

Maybe if you have the script function in the html header you can fire it with DOM,like :WebBrowser.Document.Script.MyFunction, after you are filling the document with new data/innerHTML.

Zakaria al Azhar


>>You can add an ID to a (DIV,SPAN,TD...) tag at the end of the page and a script to show it like this:
>>
>><script>MyID.scrollIntoView(true);</script>
>>
>>
>>I dont know if this script work in a non-IE browser...
>
>I tried a similar approach today with a A tag for an anchor and having some kind of javascript on onload() to go to that location. But, inside the Web Browser control, with the combination of assigning the HTML with WebBrowser.Document.Body.innerHTML, this was not supported.
>
>The same occurs with the approach you mentioned. As we are innerHTML, this is not supported. To be sure, I simply save that code into a file and loaded it IE which worked well.
Zakaria al Azhar
My blog on Actuaris.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform