Set Focus on a Button on TextBox Enter Key Press in UserControl in ASP.Net

Last Reply on Dec 20, 2012 05:52 AM By Mudassar

Posted on Dec 20, 2012 05:52 AM

Hi everyone,

I have a User Control that I Made it as Login Control.

and I put the User Control in MasterPage.

and I have a ImageButton for rss in master page.

when user fill username and password textboxes and Press Enter on keyboard the rss page appear instead.

how can i set focus to Login Button in User Control?