an application, that automates using a website.
An upcomming change, is the introduction of a java webstart file (.jnlp).
The user press this link <a id="dgBoeger__c tl4_Linkbutton1 "
href="javascrip t:__doPostBack( 'dgMyctl$_ctl4$ Linkbutton1','' )">Some Text
</a> and the server redirects to "View.aspx" that respondes by writing a
app.jnlp file direcly to Response.Output .
In BeforeNavigate2 I can catch when the link is pressed, but so far I
haven't found any way to capture the output; i.e. the app.jnlp file.
I have a network trace where I can see a "GET View.aspx" without any
querystring, so it must already be set the users session.
I have been chasing two solution, so far without the result I was hoping for
1) catch the reply, but no event is fired to acomplish this
2) call the webserver in the same way AxWebBrowser does, but with a
WebClient or HttpRequest, but how can I do, what doPostBack does?
I have been googling for answers to having FileDownload event fired, but
they either do not work or are too different from my application; e.g.
switching from AxWebBrowser to AxHost is something I would NOT like to do.
Regards
Per Agerbak
An upcomming change, is the introduction of a java webstart file (.jnlp).
The user press this link <a id="dgBoeger__c tl4_Linkbutton1 "
href="javascrip t:__doPostBack( 'dgMyctl$_ctl4$ Linkbutton1','' )">Some Text
</a> and the server redirects to "View.aspx" that respondes by writing a
app.jnlp file direcly to Response.Output .
In BeforeNavigate2 I can catch when the link is pressed, but so far I
haven't found any way to capture the output; i.e. the app.jnlp file.
I have a network trace where I can see a "GET View.aspx" without any
querystring, so it must already be set the users session.
I have been chasing two solution, so far without the result I was hoping for
1) catch the reply, but no event is fired to acomplish this
2) call the webserver in the same way AxWebBrowser does, but with a
WebClient or HttpRequest, but how can I do, what doPostBack does?
I have been googling for answers to having FileDownload event fired, but
they either do not work or are too different from my application; e.g.
switching from AxWebBrowser to AxHost is something I would NOT like to do.
Regards
Per Agerbak