I'm creating a disclaimer page where the user has to accept the agreement to continue I started with the following:
<asp:Button ID="Button1" runat="server" Font-Names="Trebuchet MS" PostBackUrl="http://184.108.40.206/mypage/
" Text="Click to Accept" Width="150px" />
and got this error: "The requested method post is not allowed for the url."
I ended up manually creating a button in an external program and doing this:
<asp:HyperLink ID="HyperLink2" runat="server" ImageUrl="~/images/accept.
But seriously.... please tell me Visual Studio has a better method without requiring an additional script, or creating my own button, that doesn't involve a postback.
Any suggestions would be appreciated. (I'd even be happy if they had a simpler method of the button creation process.)