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

New Message on BDOTNET

-----------------------------------------------------------
From: Mrinal
Message 3 in Discussion

Hi ,   As far as i can gather your problem there are two parts first is traversing 
through a CheckBoxList and knowing which checkboxes are being clicked and then 
validating them on client side , ok let's take them up one by one :   For First Part 
you just need to go through the number of items in the whole collection and and keep 
on checking the bool value whether selected or not and keep storing the id of 
associated textbox in an array or there could be many other ways . just go through the 
following link it has a very good example regarding the same :   
http://aspmatrix.com/asp-net/validate_checkboxlist/index.aspx   Now the validation 
part , see you want client side validation , which is very efficient as no server 
round trips so you have even implemented a javascript , but what if a malicious client 
switch off validation or prevents rendering of javascript , so i would suggest u to 
better go with .NET Validation controls , which do client side checking and if there's 
a problem like spoofing , then they do server side check even , so they are doubly 
proof and in a typical case like that of yours you can go for a custom validator which 
with you can associate a javascript for client side check and a c# script for a server 
side check ,   i hope it helps but if ur problem is different or there's some other 
issue then please let me know ,   Regards , Mrinal

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

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