Setting checked property to decorated checkboxes with Javascript not working on IE11

8 posts, 0 answers
  1. nfigueroa
    nfigueroa avatar
    21 posts
    Member since:
    Apr 2010

    Posted 06 Dec 2013 Link to this post

    Hi

    When using form decorator with Internet Explorer 11 to decorate asp checkboxes, if I try to set the checked property using JavaScript;

    var list = document.getElementById("<%=CheckBoxList1.ClientID%>");
    var chklist = list.getElementsByTagName("input");
    for (var i = 0; i < chklist.length; i++) {
         if (chklist[i].type === "checkbox") { chklist[i].checked = false; }
    }

     

    the action gets executed but the checks remain on the boxes.  If I take the decoration off it works as usual.  This only happens on IE 11, it works fine on Firefox and Chrome as well as older versions of IE.

    Is there a work around besides taking decoration off?

    thanks

  2. Bozhidar
    Admin
    Bozhidar avatar
    677 posts

    Posted 10 Dec 2013 Link to this post

    Hi,

    Thanks for contacting Telerik support. We are aware of the issue and it is planned to be fixed soon. For the time being we could not provide a fix. Once the bug is fixed we will contact you immediately with a work around if have any,

    Regards,
    Bozhidar
    Telerik
    Explore the entire set of ASP.NET AJAX controls we offer here and browse the myriad online demos to learn more about the components and the features they incorporate.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Bill
    Bill avatar
    94 posts
    Member since:
    Aug 2006

    Posted 11 Jan 2014 Link to this post

    Yes, I am having the same problem, the checkbox is not there on IE11.

    Thanks,

    ~bg

  5. nfigueroa
    nfigueroa avatar
    21 posts
    Member since:
    Apr 2010

    Posted 13 Jan 2014 Link to this post

    hi Bill

    I ended up taking off the checkboxes out of the <telerik:RadFormDecorator DecoratedControls="" declaration.  I discover that if you go to the IE 11 developer tools ("F12") and go to the Emulation tab and take the Document Mode out of the Edge (default) then everything works fine.

    I tried setting meta tags like <meta http-equiv="x-ua-compatible" content="IE=10" /> or <meta http-equiv="x-ua-compatible" content="IE=EmulateIE9" /> but does not seem to work.  If you have better luck let us know.

    Hope it helps!

  6. Bozhidar
    Admin
    Bozhidar avatar
    677 posts

    Posted 14 Jan 2014 Link to this post

    Hi,

    We will start working on that issue in short time. However, it will take time as we have to implement a whole new approach in that case, so we don't want to give you a fast fix that will work partially or will break something. Another option is to skip the Checkbox decoration using the ControlsToSkip property. Thanks for yor supper and understanding.

    Regards,
    Bozhidar
    Telerik
    Explore the entire set of ASP.NET AJAX controls we offer here and browse the myriad online demos to learn more about the components and the features they incorporate.
  7. Peter
    Peter avatar
    1 posts
    Member since:
    Dec 2012

    Posted 31 Jan 2014 Link to this post

    Is this problem being addressed?

    Today I spent three hours figuring out why my checkboxes had suddenly stopped working.  I am a bit annoyed that this bug was not better documented on the Telerik website.  Searching the web for information relating to RadControls and checkbox problems was not rewarding .  Only after I determined that this issue was limited to IE 11, was I able to stumble upon this post.

    Adding ControlsToSkip="CheckBoxes" to the RadFormDecorator is a work-around for this bug.

    Note: The bug is not present in RadControls version 2013.2.717.35, but is in the latest version 2013.3.1324.35.  My other machine (running the older version) is not affected.
  8. Bozhidar
    Admin
    Bozhidar avatar
    677 posts

    Posted 04 Feb 2014 Link to this post

    Hi,

    Thanks for contacting Telerik support. The bug is already fixed and will be available with Q1 2014 Release. The issue was logged in our FeedBack portal  - FIX: Checkboxes that are checked dynamically are not styled correctly by the FormDecorator in IE11. You could find there all logged issues, to vote for them, or make anny suggestion about how to improve/fix the controls.

    Regards,
    Bozhidar
    Telerik
    Explore the entire set of ASP.NET AJAX controls we offer here and browse the myriad online demos to learn more about the components and the features they incorporate.
  9. Marco
    Marco avatar
    9 posts
    Member since:
    Aug 2012

    Posted 12 Nov 2015 Link to this post

    FYI: I still had the issue with Version 2015.3.930.

    The reason was, that I do not spicify the type of the input. After Setting type="checkbox" it worked like expected.

    regards
    Marco

Back to Top
UI for ASP.NET Ajax is Ready for VS 2017