views:

1141

answers:

2

Hello, how can you scroll to the end of a system.windows.forms.webbrowser programmitacly?

+2  A: 
ctlWebBrowser.Document.Body.ScrollIntoView(false);

The boolean parameter for ScrollIntoView() is true to align the scrollbar with the top of the document, and false to align the scrollbar with the bottom of the document.

MSDN documentation here: HtmlElement.ScrollIntoView

Tarsier
A: 

Thanks Tarsier !! :)