Refreshing page and IsPostBack
-
How can I refresh my page in Javascript (so that the refresh is clientside) with the IsPostBack value being set to true. Someone told me to use form.submit(), but this doesn't set IsPostBack to true. Clicking a Button, which runs at the server (runat="server") and has an event asigned does exactly what I need. So how is the code in JS for that? Thanks a lot.
-
How can I refresh my page in Javascript (so that the refresh is clientside) with the IsPostBack value being set to true. Someone told me to use form.submit(), but this doesn't set IsPostBack to true. Clicking a Button, which runs at the server (runat="server") and has an event asigned does exactly what I need. So how is the code in JS for that? Thanks a lot.
Does this article in the .NET developer's guide help? Generating Client-Side Script for Postback[^]