Author: MetalIce | Posted on: 7/6/2010 5:15:40 PM | Views : 521

Okay, I'm trying to set the default button to my master page for logging in.


Basically I've got a master page, with a LoginView in it, with a Login control in it, With a button in it... When you press "Enter" I want it to use that as the default button.


(structure in sudo-code if it helps)
BODY
- Form ID=Form1
-- LoginView ID=MasterLoginView
--- AnonymousTemplate
---- Login ID=MainLogin
----- LayoutTemplate
------ Button ID=LoginButton
...


I know I've got to use .FindControl("") but as much as I mess with it I can't seem to get it to hook to the button.
...

Go to the complete details ...