B
Bruce W.1
I need to do a post on the client side (with an html button) to another
aspx URL, while keeping the viewstates.
So I made an html button with
onClick="location.href='whatever.aspx?state=true'"
This works but I lose everything that was in my textboxes and other
controls. I think this onClick just does a Get instead of a Post.
I'm actually posting to the same page but changing the querystring in
order to make something happen in the Global.asax.cs
Application_BeginRequest method. Something that can't wait to hit the
handler code of a regular ASP.NET button. The querystring must be
changed on the client side.
So how can I post back to the same page, keep everything that was in the
controls, and change the querystring?
Thanks for your help.
aspx URL, while keeping the viewstates.
So I made an html button with
onClick="location.href='whatever.aspx?state=true'"
This works but I lose everything that was in my textboxes and other
controls. I think this onClick just does a Get instead of a Post.
I'm actually posting to the same page but changing the querystring in
order to make something happen in the Global.asax.cs
Application_BeginRequest method. Something that can't wait to hit the
handler code of a regular ASP.NET button. The querystring must be
changed on the client side.
So how can I post back to the same page, keep everything that was in the
controls, and change the querystring?
Thanks for your help.