how to ignore already checked checkboxes in vb.net / asp.net ?

Posted by user559800 on Stack Overflow See other posts from Stack Overflow or by user559800
Published on 2011-01-01T15:36:59Z Indexed on 2011/01/01 15:54 UTC
Read the original article Hit count: 318

Filed under:
|

If i have 3 asp.net checkboxes in my asp.net webform namely : CheckBox1, Checkbox2, Checkbox3 and a textbox namely textbox1

If Checkbox1.text ="1"
Checkbox2.text ="2"
Checkbox3.text ="3"

I WANT :

if checkbox1 is already checked ... if checkbox is remain checked and even after i check checkbox2 and checkbox3 then the output in textbox would be 2,3 ..... by ignoring already checked checkbox text ...

LOGIC I WANT : Ignore already check checkboxes and insert recent checkbox text to textbox1 as comma seperated string ...

How to do that ?

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about vb.net