-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: Prasanna_kakanoor
Message 5 in Discussion


Hi,

So, how do you set a default button to be clicked when the user presses Enter? Simply 
add the following line to your page's Load event, replacing "btnLoign" with the name 
of your button. It uses a hidden Page method called RegisterHiddenField and works 
splendidly:

Page.RegisterHiddenField("__EVENTTARGET", " btnLoign")

Hope this will help you.

Thanks & Regards,
Prasanna K L [MCAD(CM) | MCSD.NET(Early Achiever)] [MS Community Star]


|Sr. Software Engineer�|First American Interactive Division|Office:+91 80�5115 6050  
Extn 4084 |Mobile:+91 98452 76356�|Fax:+91 80�841 1858 |[EMAIL PROTECTED] |
|Unit 1, Level 1, Explorer Building, International TechPark, Whitefield Road, 
Bangalore-560066|India| Website: www.firstam.com |

-----Original Message-----
From: BDOTNET [mailto:[EMAIL PROTECTED] 
Sent: Monday, December 15, 2003 9:55 AM
To: BDOTNET
Subject: Default button in user control..



New Message on BDOTNET


Default button in user control..
Reply

�
Recommend 
Message 1 in Discussion 

From: vishnuvr 

hello friends,
�
i have�a three buttons in usercontrol which iam using in 10 forms in my application...
I want to make one of this button has default, like when ever user cliks enter button 
that button has to be enabled appropriate action has to be taken... can u people give 
me some behind how to do this, some example is more useful to me
�
rgds
vishnu
�
�


View other groups in this category. 


Also on MSN:
Start Chatting�|�Listen to Music�|�House & Home�|�Try Online Dating�|�Daily Horoscopes 

Passport Member Services. 
For other questions or feedback, go to our Contact Us page. 

If you do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the pre-addressed 
e-mail message that opens, simply click "Send". Your e-mail address will be deleted 
from this group's mailing list. 
Remove my e-mail address from BDOTNET. 



-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/BDOTNET/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the pre-addressed 
e-mail message that opens, simply click "Send". Your e-mail address will be deleted 
from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to