RadListBox with checkbox as option

2 posts, 0 answers
  1. Divyang
    Divyang avatar
    13 posts
    Member since:
    Dec 2010

    Posted 01 Aug 2011 Link to this post

    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 ?
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 01 Aug 2011 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top