Monday, March 26, 2012

Simple button question.

I have a button on my main form and when clicked I would like to the user to be directed to a new form. The only this is I cant seem to be able to figure out how to set the link to the next form. Here is the code for the button


<asp:Button id="Button1" style="Z-INDEX: 103; LEFT: 536px; POSITION: absolute; TOP: 440px" runat="server" Width="104px" Height="32px" Text="Enter"></asp:Button>

Here is the link that I would like to to go to when the button is pressed.



can someone tell me how to link the link to the button .

Thanks.Use the following code:


<input type="button" value="Enter" onClick="document.loaction = 'IDIMainOptions.aspx';" />

0 comments:

Post a Comment