HtmlAgilityPack's javascript function is called.

c# html-agility-pack javascript winforms

Question

I want to use HtmlAgilityPack in a form application to read some pages content but on the page search subpage I need to invoke the javascript and the link looks like this:

<a href="javascript:__doPostBack('lnkbtnNext','')" id="lnkbtnNext">Następny >></a>

How can I Call this function from my C# desktop application?

1
1
7/7/2010 12:39:53 PM

Accepted Answer

If you trust the source, it looks to me like you'd be better off invoking the WebBrowser control. HtmlAgilityPack does not provide a scripting engine.

1
7/7/2010 12:43:48 PM


Related Questions





Related

Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow