I have a server side button on my web site that looks like this.
<code>
<asp:Button ID="cmdUpdateGame" runat="server" Text="Save Game" PostBackUrl="~/Admin/SaveDetails.aspx" />
</code>
The problem is that when it is pressed the current page refreshes loosing any data that has been entered before entering the page specified in the postbackUrl.
I'm relatavely new to .NET so is there something else I need to do.
<code>
<asp:Button ID="cmdUpdateGame" runat="server" Text="Save Game" PostBackUrl="~/Admin/SaveDetails.aspx" />
</code>
The problem is that when it is pressed the current page refreshes loosing any data that has been entered before entering the page specified in the postbackUrl.
I'm relatavely new to .NET so is there something else I need to do.