try this 1. declare an HTML hidden input (say id="hdnbutton") in ur form 2. in onload event of form/body set the value of hdnbutton as 1 (or anything u want) 3. in onclick event of the button set the value of hdnbutton as 0 (or antthing u want but different from that set in step 2) 4. now in Page_load event what u need to check is the value of hdnbutton. if its 1 then button hasn't clicked and if its 0 then button hasbeen clicked.
i hope this will help u....... -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] Behalf Of Zed Burton Sent: Thursday, December 22, 2005 2:46 AM To: [email protected] Subject: [AspNetAnyQuestionIsOk] in Page_load how do you find BtnMy_btn.click I need to know if the button was clicked in page_load so as not to do something Is there a way to know? SPONSORED LINKS Basic programming language Computer programming languages Programming languages Java programming language ---------------------------------------------------------------------------- -- YAHOO! GROUPS LINKS a.. Visit your group "AspNetAnyQuestionIsOk" on the web. b.. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. ---------------------------------------------------------------------------- -- [Non-text portions of this message have been removed] ------------------------ Yahoo! Groups Sponsor --------------------~--> Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/u8TY5A/tzNLAA/yQLSAA/saFolB/TM --------------------------------------------------------------------~-> Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
