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

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

7 Answers 391 Views
FormDecorator
This is a migrated thread and some comments may be shown as answers.
nfigueroa
Top achievements
Rank 1
nfigueroa asked on 06 Dec 2013, 05:01 PM

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

7 Answers, 1 is accepted

Sort by
0
Bozhidar
Telerik team
answered on 10 Dec 2013, 11:53 AM
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.
0
GDPR_erased
Top achievements
Rank 1
answered on 11 Jan 2014, 05:54 PM

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

Thanks,

~bg

0
nfigueroa
Top achievements
Rank 1
answered on 13 Jan 2014, 03:08 PM

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!

0
Bozhidar
Telerik team
answered on 14 Jan 2014, 08:52 AM
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.
0
Peter
Top achievements
Rank 1
answered on 31 Jan 2014, 11:29 PM
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.
0
Bozhidar
Telerik team
answered on 04 Feb 2014, 11:49 AM
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.
0
Marco
Top achievements
Rank 1
Iron
Iron
Iron
answered on 12 Nov 2015, 06:35 PM

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

Tags
FormDecorator
Asked by
nfigueroa
Top achievements
Rank 1
Answers by
Bozhidar
Telerik team
GDPR_erased
Top achievements
Rank 1
nfigueroa
Top achievements
Rank 1
Peter
Top achievements
Rank 1
Marco
Top achievements
Rank 1
Iron
Iron
Iron
Share this question
or