This is a migrated thread and some comments may be shown as answers.

Checkbox inside a listbox

2 Answers 154 Views
ListBox
This is a migrated thread and some comments may be shown as answers.
Uma Mahe
Top achievements
Rank 1
Uma Mahe asked on 05 Nov 2009, 04:31 PM
Hi all,

I have a list box with checkboxes. I selected the checkbox depending on the values stored in the database. Now when a user check s or uncheck the boxes and click save i want that to be save in the database the values. I need an event in the server side that i can use to collect the values of the checkboxes that are checked/unchecked by user. I need the code for it. 

Thanks in advance

2 Answers, 1 is accepted

Sort by
0
Schlurk
Top achievements
Rank 2
answered on 05 Nov 2009, 11:53 PM
This demo shows server-side code which grabs all of the checked boxes of a ListBox upon a button click. Is that what you were looking for?
0
Uma Mahe
Top achievements
Rank 1
answered on 06 Nov 2009, 09:32 AM
No. This demo is not enough. This demo gives me the value of the checked items. I want to know which are the values that the user checks and unchecks because the checked items are already in the database. I need to know the unchecked items too so that i can update it in the database. Usually there will be an event that fires when a user clicks or unclicks like ItemCheckChangedEvent which helps me capture the user action. Is there any event like this in Telerik list.

Thanks
Tags
ListBox
Asked by
Uma Mahe
Top achievements
Rank 1
Answers by
Schlurk
Top achievements
Rank 2
Uma Mahe
Top achievements
Rank 1
Share this question
or