The checkboxes decorated with RadFormDecorator appeared double in Classic rendering after upgrading to Firefox 63. Steps to reproduce: 1. Upgrade to Firefox 63 2. Run the following setup <telerik:RadFormDecorator runat="server" DecoratedControls="CheckBoxes" RenderMode="Classic" /> <div>asp:Checkbox</div> <asp:CheckBox ID="chkApproved" runat="server" Text="asp:Checkbox" /> <div>Html Input</div> <input id="chkApproved1" type="checkbox" name="chkApproved" /> ====================================== Solutions found so far: 1) Use RadFormDecorator in Lightweight RenderMode: <telerik:RadFormDecorator runat="server" RenderMode="Lightweight"/> 2) Set the RadFormDecorator's DecoratedControls="All": <telerik:RadFormDecorator runat="server" RenderMode="Classic" DecoratedControls="All" /> 3) Set the ControlsToSkip="CheckBoxes" <telerik:RadFormDecorator runat="server" RenderMode="Classic" ControlsToSkip="CheckBoxes" /> 4) Or add the following CSS overwrite to the page: <style> .rfdCheckboxUnchecked, .rfdCheckboxChecked { padding: 0 !important; background-image: none !important; } </style>
After upgrading to new version of Telerik (2016.3.914.35), duplicate checkboxes are displaying. Please refer attached file.
The appearance of disabled inputs in the markup is not updated in IE11. For the time being you can manually set the corresponding disabled CssClasses, using the approach from this help article: http://www.telerik.com/help/aspnet-ajax/formdecorator-troubleshooting-input-appearance-is-not-updated-when-disabled-in-internet-explorer.html
If you are using the controls from 2019 R1 SP1 or later, you can use the following workaround in order to make the input elements visible until we include the fix internally:
<style>
.t-ff input[type=checkbox].rfdRealInput,
.t-ff input[type=radio].rfdRealInput {
position: static;
}
</style>
In Q3 2013 Firefox and Chrome freeze when a container with a select element is made visible with JavaScript and RadFormDecorator is present on the page. The issue will be fixed for the upcoming Q3 2013 SP1. For the time being possible workarounds are: - Setting the ControlsToSkip property of the RadFormDecorator to "Select". - OR placing the provided JavaScript code from the attached archive below the declaration of the RadFormDecorator. Sample scenarios that reproduce the issue are: - Expanding an inner item from a RadPanelBar. The RadPanelBar has multiple Items that contain select elements and a RadFormDecorator is present on the page. - JavaScript is used to set the display property of a container with a select element to "block" for example, multiple containers with select elements are present on the page and RadFormDecorator is used. For example: JavaScript: <script type="text/javascript"> function pageLoad() { $get("div1").style.display = "block"; } </script> ASPX: <telerik:RadFormDecorator ID="RadFormDecorator1" runat="server" DecoratedControls="All" /> <div id="div1" style="display: none;"> <select> <option>text1</option> <option>text2</option> <option>text3</option> </select> </div> <div id="div2" style="display: none;"> <select> <option>text1</option> <option>text2</option> <option>text3</option> </select> </div>
For the time being you can either skip the selects elements from decoration: ASPX: <telerik:RadFormDecorator ID="RadFormDecorator1" runat="server" DecoratedControls="All" ControlsToSkip="Select" /> <div id="div1"> <telerik:ReportViewer ID="ReportViewer1" runat="server" Height="492px" Width="927px"></telerik:ReportViewer> </div> Or decorate only particular zone that do not include the ReportViewer: ASPX: <telerik:RadFormDecorator ID="RadFormDecorator1" runat="server" DecoratedControls="All" DecorationZoneID="div2" /> <div id="div1"> <telerik:ReportViewer ID="ReportViewer1" runat="server" Height="492px" Width="927px"></telerik:ReportViewer> </div> <div id="div2"> <input type="text" name="name" value=" " /> <select> <option>option1</option> <option>option2</option> <option>option3</option> </select> </div>
For the time being the following CSS workaround can be used: <style> .rfdSelect.rfdSelect_Default { min-height: 1.417em; } </style>
Workarounds: - use RenderMode="Lightweight" - OR, set DecoratedControls="All" Repro: <telerik:RadFormDecorator ID="RadFormDecorator1" runat="server" DecoratedControls="Textbox,Textarea,Buttons,Scrollbars,Select,CheckBoxes,RadioButtons" Skin="Default" RenderMode="Classic" /> <div class="container body-content"> <h2>First Application </h2> <p>SFSFSDF</p> <br /> <asp:RadioButtonList runat="server" ID="dlSchdId" RepeatColumns="6" RepeatDirection="Horizontal" Width="100%"> <asp:ListItem Text="test 1"></asp:ListItem> <asp:ListItem Text="test 2"></asp:ListItem> </asp:RadioButtonList> <asp:CheckBox runat="server" ID="chk1" Text="Check Box 1" /> </div>
Buttons decorated by RadFormDecorator have 16 additional pixels. Issue is reproducible since Q3 2013 and is caused due to the box-sizing and -moz-box-sizing styles. For the time being one of the following workarounds can be used: 1) Override the box-sizing style: CSS: <style> .RadForm, .RadForm.rfdTextbox .rfdDecorated { box-sizing: border-box !important; -moz-box-sizing: border-box !important; } </style> ASPX: <telerik:RadFormDecorator ID="RadFormDecorator1" runat="server" DecoratedControls="All" /> <div style="margin: 20px; margin-bottom: 0; border: 2px solid Black; height: 15px; width: 168px;"></div> <div style="position: absolute; margin: 10px; margin-top: 0; padding: 10px; padding-top: 0;"> <div> <asp:Button ID="Button1" runat="server" Text="Cancel" TabIndex="1" Width="80px" UseSubmitBehavior="false" /> <asp:Button ID="Button2" runat="server" Text="Save" TabIndex="2" Width="80px" UseSubmitBehavior="false" /> </div> </div> 2) Set the rendermode of the FormDecorator to lightweight: ASPX: <telerik:RadFormDecorator ID="RadFormDecorator1" runat="server" DecoratedControls="All" RenderMode="Lightweight" /> <div style="margin: 20px; margin-bottom: 0; border: 2px solid Black; height: 15px; width: 168px;"></div> <div style="position: absolute; margin: 10px; margin-top: 0; padding: 10px; padding-top: 0;"> <div> <asp:Button ID="Button1" runat="server" Text="Cancel" TabIndex="1" Width="80px" UseSubmitBehavior="false" /> <asp:Button ID="Button2" runat="server" Text="Save" TabIndex="2" Width="80px" UseSubmitBehavior="false" /> </div> </div>
The tooltip is not showing when RadFormDecorator decorate asp:CheckBox and asp:RadioButton. For example: <telerik:RadFormDecorator ID="RadFormDecorator1" runat="server" DecoratedControls="All" /> <asp:CheckBox runat="server" Text="Update" ToolTip="Update Last Name" /> <asp:RadioButton runat="server" Text="Update" ToolTip="Update Last Name" /> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Removing the title attribute from the label element fixes the issue: <telerik:RadScriptManager runat="server" ID="RadScriptManager1"> <Scripts> <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" /> <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" /> </Scripts> </telerik:RadScriptManager> <telerik:RadFormDecorator ID="RadFormDecorator1" runat="server" DecoratedControls="All" /> <script type="text/javascript"> function pageLoad() { $telerik.$("label[class*='rfdRadio'],label[class*='rfdCheckbox']").removeAttr("title"); } </script> <asp:CheckBox runat="server" Text="Update" ToolTip="Update Last Name" /> <asp:RadioButton runat="server" Text="Update" ToolTip="Update Last Name" />
Issue is reproducible with the following markup: ASPX: <telerik:RadFormDecorator ID="RadFormDecorator1" runat="server" DecoratedControls="All" RenderMode="Lightweight" /> <select> <option>option 1</option> <option selected="selected"></option> </select> For the time being the following JavaScript workaround can be placed below the RadFormDecorators' declaration: <telerik:RadFormDecorator ID="RadFormDecorator1" runat="server" DecoratedControls="All" RenderMode="Lightweight" /> <script> Telerik.Web.UI.FormDecorator.LightWeightDomDecorator.prototype.setSelectHeaderText = function (decoratedSelectHeader, text, isDropDown) { if (isDropDown) { decoratedSelectHeader.innerHTML = ""; var span = this._createArrowSpan(); decoratedSelectHeader.appendChild(span); decoratedSelectHeader.appendChild(document.createTextNode(text)); } else { var innerElement = $telerik.getElementByClassName(decoratedSelectHeader, "rfdSelectText"); if (text) text = text.replace(/</g, "<"); if (innerElement) innerElement.innerHTML = text; } } </script>
RadFormDecorator does not update properly the state of the grid row checkboxes when Select all checkbox is clicked and the skin is different than Default. video - https://www.screencast.com/t/lwAfXhgEAs The bug is introduced with R1 2017 release. Steps to reproduce: 1. Open http://demos.telerik.com/aspnet-ajax/formdecorator/examples/formdecoratorandtelerikcontrols/defaultcs.aspx?skin=Silk 2. Click the "Select All" checkbox of the first Grid Result: The row checkboxes are not checked ISSUE 2: Batch Edit mode checkboxes are not updated. Change a few checkboxes in this demo, they all remain unchecked after you close the cell: http://demos.telerik.com/aspnet-ajax/grid/examples/data-editing/batch-editing/defaultcs.aspx Workraounds: - remove the RadFormDecorator - OR, have it skip checkboxes, e.g.: DecoratedControls="All" ControlsToSkip="CheckBoxes"
For the time being you can use the following JavaScript workaround: <html xmlns="http://www.w3.org/1999/xhtml"> <head id="Head1" runat="server"> <title></title> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script> <script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/jquery-ui.min.js"></script> </head> <body> <form id="form1" runat="server"> <telerik:RadScriptManager ID="RadScriptManager1" runat="server"> </telerik:RadScriptManager> <telerik:RadFormDecorator ID="RadFormDecorator1" runat="server" /> <script> //Workaround: var removeCssClass = Sys.UI.DomElement.removeCssClass; Telerik.Web.UI.RadFormDecorator.prototype.set_elementDisabled = function (element, val) { var actor = element; var nextSibling = element.nextSibling; var type = element.type; if ((type == "checkbox" || type == "radio") && nextSibling && nextSibling.tagName == "LABEL") { actor = nextSibling; } else if (type == "button" || type == "reset" || type == "submit" || element.tagName == "BUTTON") { var parent = element.parentNode; if (parent && parent.tagName == "A") { actor = parent; parent.disabled = val; } } if (val) addCssClass(actor, "rfdInputDisabled"); else removeCssClass(actor, "rfdInputDisabled"); try { if (!val && $telerik.isIE && actor.parentNode.disabled) { actor.parentNode.disabled = val; } } catch (e) { } } </script> <input type="button" value="Test" onclick="Run(); return false;" /> <div id="TestDiv" style="display: none"></div> <script type="text/javascript"> function Run() { $('#TestDiv').dialog({ modal: true, buttons: { "OK": function () { alert('bye'); } } }); } </script> </form> </body> </html>
For the time being the following CSS can be used: <style> .rfdSelectBox.rfdSelectBox_Default.rfdSelectBoxDropDown { z-index: 4007; } </style> Where 'Default' is the name of the skin.