I have load HTML content in WebBrowser control of Winforms. And I want to append another HTML content when vertical scroll is reached on last position. So I am stuck on it how can I achieve it.
Here is my sample code:
WebBrowser web = new WebBrowser();
web.Document.Write("Some html content");
web.Document.Window.AttachEventHandler("onscroll", OnScrollEventHandler); // Create scroll event for browser control
private void OnScrollEventHandler(object sender, EventArgs e)
{
// Identify vertical scroll reached on last position and append another HTML
}
Thanks in advance.