Add checkbox to Dropdownlist

Posted by Venkatesh under ASP.NET on 11/23/2010 | Points: 10 | Views : 22601 | Status : [Member] | Replies : 3
Hi,

How to add Checkoxes to DropDownlist in asp.net




Responses

Posted by: Madhuk on: 11/23/2010 [Member] Starter | Points: 25
Posted by: T.saravanan on: 11/23/2010 [Member] [MVP] Silver | Points: 25

Up
0
Down
Hi Venkatesh,

Your question is not clear.Are you add a value for selected checkbox value into dropdownlist means...

First add the event for Checkbox Checked Changed into your checkbox control if you using javascript means just call the function in onclick event
at that function (or) event to check the checked state for that checkbox if checked means to add the value into dropdownlist else to remove that value in dropdownlist(value is already there in that dropdownlist).

Try this way you can achieve it.

Cheers :)


Thanks,
T.Saravanan

Venkatesh, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Lalji_mer on: 11/23/2010 [Member] Bronze | Points: 25

Up
0
Down
Hi,
Good Source code step by step hope will help you.

http://www.dotnetspeaks.com/DisplayArticle.aspx?ID=63

http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/Q_24703660.html

LP MER

Venkatesh, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response