check/uncheck radlistboxitems when disabled

3 posts, 1 answers
  1. mark
    mark avatar
    19 posts
    Member since:
    May 2008

    Posted 21 Sep 2010 Link to this post

    Hi there , 

    I am not sure if its a feature or an issue, but it appears as though I cannot uncheck a checked item in the radlistbox when the radlisbox is disabled 

    e.g. 

    var list = $find('<%=RadListBoxRisk1.CLientID %>')
    alert(list.get_enabled() ) // displays false
    var checkeditems = list.get_checkedItems()
    for (x =0; x <checkeditems.length ;x ++  )
    {
     checkeditems[x].uncheck()
      alert(checkeditems[x].get_checked());  // displays true
    }

    if I change the code to this .. it works 

    var list = $find('<%=RadListBoxRiskEffects.CLientID %>')
    list.set_enabled(true)
    alert(list.get_enabled() ) // displays true
    var checkeditems = list.get_checkedItems()
    for (x =0; x <checkeditems.length ;x ++  )
    {
     checkeditems[x].uncheck()
      alert(checkeditems[x].get_checked());  // displays false
    }
    list.set_enabled(false)

    thanks 

    Mark
  2. Answer
    Genady Sergeev
    Admin
    Genady Sergeev avatar
    1596 posts

    Posted 27 Sep 2010 Link to this post

    Hi mark,

    Which version of RadListBox do you use? There used to be such bug, however, you can find the problem fixed in the latest version of RadListBox. I suggest that you give it a try.

    Regards,
    Genady Sergeev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. mark
    mark avatar
    19 posts
    Member since:
    May 2008

    Posted 27 Sep 2010 Link to this post

    That explains a thing or two,

    I am not using the latest version. will try that and see 

    thanks 
Back to Top