|
Hi
When pressing ENTER on the login page for the second time after getting it wrong, you are presented instead with the 'search results' page.
FYI
This is because the 'default button' was only being set in the code-behind if not posting back.
I moved the lines involved so that they always run.
Control c = lgn1.FindControl("LoginButton" );
Page.Form.DefaultButton = c.UniqueID;
|