Change Checkbox Status on click

2 posts, 0 answers
  1. russ
    russ avatar
    7 posts
    Member since:
    Jun 2010

    Posted 04 Jun 2010 Link to this post

    I've got a listbox populated from my database, and want to change the RadListBoxItem.Checked property (check or uncheck) whenever a user clicks anywhere on a row.  Is there an easy way to do this?
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 05 Jun 2010 Link to this post


    Make use of RadListBox client side api to set the listitem as checked when selecting.

    Here is the sample client code:
        function OnClientSelectedIndexChanged(sender, args) { 

    Feel free to change the logic based on your requirement. The following documentation lists the most important methods of the client-side RadListBox object:
    RadListBox client API

  3. DevCraft R3 2016 release webinar banner
Back to Top