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
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
Yes, I am having the same problem, the checkbox is not there on IE11.
Thanks,
~bg
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!
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
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.
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
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