Question

Hello,

if i come from an URL, is it possible to cut or hide parts from the orginal Webpage in the webBrowser.Net component?

Thanks!

Was it helpful?

Solution

I implemented your function at WPF as below: Write the below code at DocumentComplete Event:

webbrowser1.Document.getElementById("id1").SetAttribute("style","display:none;");

I think you can follow my way at Windows form

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top