p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   ASP.NET 1.0 and 1.1 Professional (http://p2p.wrox.com/forumdisplay.php?f=57)
-   -   call button's click event explicitly (http://p2p.wrox.com/showthread.php?t=37591)

sansircar January 24th, 2006 10:48 PM

call button's click event explicitly
 
I wanted to call the click event of the button on the click of a checkbox -
for eg:-

i wanted to call the event below explicitly when a checkbox is checked
private void btnSave_Click(object sender, System.EventArgs e)

{


}
please suggest


jbenson001 January 25th, 2006 01:07 AM

You can do that, but I suggest creating a sub or function. Then call that from your button click event and your checkbox click event.

Jim



All times are GMT -4. The time now is 05:52 AM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.