hi Sanjeeb,
If you place this line of code within
Page.RegisterHiddenField("__EVENTTARGET", "btnLogin")
where btnLogin is the name of control that you wish to fire by default.
Hope this helps
ian
"Sanjeeb Sarangi" <(E-Mail Removed)> wrote in message
news:84C9112C-7EB3-4844-8AF6-(E-Mail Removed)...
> I have got a couple of Serverside Button Controls in a page. Each button
performs different actions, e.g. Button1 performs Submit, Button2 performs
Cancel etc. Now, I want the default button mapped to the Enter key would be
"Submit". I know a couple ways to achive this functionality using html
buttons. But, how to achieve this functionality with Serverside buttons? Any
idea?
>
> Thanks in advance.
>
|