Larry Brister
asked on
ASP.NET Default Button
I have a home.aspx page that loads controls based on Request.Params
The Case statement in the Master Page is
Select Case CStr(Request.Params("page" ))
Case "home" --------------------
A bunch of case statements
-------------------------- -
Case Else
Session("info") = " Home Page"
Dim uc As UserControl = CType(LoadControl("include s/login.as cx"), UserControl)
uc.ID = "uc99"
ContentPlaceHolder1.Contro ls.Add(uc)
End Select
includes/login.ascx has this button
<asp:ImageButton ID="ImageButton1" src="images/btnLogin.jpg" runat="server" TabIndex="1" />
How do I make that the default if someone just hits the enter key?
The Case statement in the Master Page is
Select Case CStr(Request.Params("page"
Case "home" --------------------
A bunch of case statements
--------------------------
Case Else
Session("info") = " Home Page"
Dim uc As UserControl = CType(LoadControl("include
uc.ID = "uc99"
ContentPlaceHolder1.Contro
End Select
includes/login.ascx has this button
<asp:ImageButton ID="ImageButton1" src="images/btnLogin.jpg" runat="server" TabIndex="1" />
How do I make that the default if someone just hits the enter key?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
thank you for the kind comments. im glad it helped you. cheers
NY
NY
ASKER