P
Paul
I have a problem with asp.net 2.0 I've never seen before. On loading the page it
loads twice and IsPostback is false both times. This happens if I use:
Response.Redirect("somepage.aspx");
I've never had this problem on a page before.
But with Server.Transfer the problem goes away, but why?
Server.Transfer("somepage.aspx");
Here is the button:
<asp:Button ID="btnDoSomething" CssClass="somebuttonclass" runat="server"
CausesValidation="False" Text="Do it" OnClick="btnAddNewItem_Click" ></asp:Button>
There is nothing out of the ordinary on the pages.
loads twice and IsPostback is false both times. This happens if I use:
Response.Redirect("somepage.aspx");
I've never had this problem on a page before.
But with Server.Transfer the problem goes away, but why?
Server.Transfer("somepage.aspx");
Here is the button:
<asp:Button ID="btnDoSomething" CssClass="somebuttonclass" runat="server"
CausesValidation="False" Text="Do it" OnClick="btnAddNewItem_Click" ></asp:Button>
There is nothing out of the ordinary on the pages.