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

RadListBox with checkbox as option

1 Answer 61 Views
ListBox
This is a migrated thread and some comments may be shown as answers.
Divyang
Top achievements
Rank 1
Divyang asked on 01 Aug 2011, 06:33 AM
I have RadListBox control in which i have marked checkbox=true,

When i click on checkbox, that item is not selected in listbox.

how to i control listbox's selected item on the basis on checkbox click ?

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 01 Aug 2011, 09:14 AM
Hello Divyang,

You can achieve this by attaching client event OnClientItemChecked.

Javascript:
<script type="text/javascript">
function OnClientItemChecked(sender, args)
{
    var item = args.get_item();
    item.select();
}
</script>

Thanks,
Princy.
Tags
ListBox
Asked by
Divyang
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or