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

New Message on BDOTNET

-----------------------------------------------------------
From: vishnuvr
Message 1 in Discussion

Hi Guys, I have user control in which i have used Datagrid having one check box 
column...   Down the datagrid i have Approve button.. If i click on the Approve 
button i have to check whether user selected any one check box in it, If yes 
then one confirmation box has to be shown... If on clicking Yes only we have to 
approve some data.   For that i wrote in the page load event of user control  
this line  
btnApproveSelected.Attributes.Add("onclick", "return confirm('Are you sure you 
want to Approve? ');"); 
But this line just ask irrespective whether user selected any check box or not. 
My problem over here is I don't have form tag in my user control.. How can i 
write a function in a usercontrol without considering form tag to check whether 
user selected any check box or not... whether we have any other method to 
achieve this... 
thanks in advance 
Vishnu 
 

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

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