I have the following scenario: after a postback
RadCombobox with enabled=False breaks AXD code like attached sceenshot. No Telerik components are working anymore. I am 100% sure this was working before the update.
When I set the RadCombobox the to enabled=True everything works fine.
Please advise...
Marc
Hi Marc,
I am sorry for the inconvenience caused by this error!
The bug is reproduced and logged for fixing for the next version. A workaround is provided in the bug report item https://feedback.telerik.com/aspnet-ajax/1601363-uncaught-typeerror-cannot-read-properties-of-null-reading-get-wrapper-combobox.
Place this Script on the Page with the ComboBox and it will override the Combo's internal function.
<script> // Condition to ensure the Telerik.Web.UI.RadComboBox object is instantiated and is present on the page if (Telerik && Telerik.Web && Telerik.Web.UI && Telerik.Web.UI.RadComboBox) { // store the original function in a variable var originalFunction = Telerik.Web.UI.RadComboBox.prototype.set_enabled; // override the original function Telerik.Web.UI.RadComboBox.prototype.set_enabled = function (value) { // add the override if (!this._view) { this._view = new Telerik.Web.UI.RadComboBox.ViewFactory.GetView(this); } // call the original function after the override originalFunction.call(this, value); } } </script>