Hello,
FYI - We recently downloaded the latest Q2 '13 Telerik update and noticed a problem with RadTextboxes and versions of IE before IE9 (and using IE compat mode in IE9 and 10). Basically, the width calculation of the textboxes were off if you used % width on the mark up (e.g <telerik:RadTextBox ID="MyTextBox" Width="100%" runat=server">.
I traced it to be an issue with the internal _reducePixelWidthByPaddings() function. What was happening is that this function was being called multiple times (I think 5) as part of the load/repaint() process. As a result, the width of the text box was getting smaller and smaller each time. To fix, I put the following client-side code in:
if (typeof (Telerik) != "undefined" && typeof (Telerik.Web.UI.RadInputControl) != "undefined")
{
Telerik.Web.UI.RadInputControl.prototype._origReducePixelWidthByPaddings = Telerik.Web.UI.RadInputControl.prototype._reducePixelWidthByPaddings;
Telerik.Web.UI.RadInputControl.prototype._reducePixelWidthByPaddings = function ()
{
if (!this._reducedPixelWidthFlag)
this._origReducePixelWidthByPaddings();
}
}
Reporting this in hopes that a proper fix makes it into a future release.
Thanks,
- Mike Oliver
FYI - We recently downloaded the latest Q2 '13 Telerik update and noticed a problem with RadTextboxes and versions of IE before IE9 (and using IE compat mode in IE9 and 10). Basically, the width calculation of the textboxes were off if you used % width on the mark up (e.g <telerik:RadTextBox ID="MyTextBox" Width="100%" runat=server">.
I traced it to be an issue with the internal _reducePixelWidthByPaddings() function. What was happening is that this function was being called multiple times (I think 5) as part of the load/repaint() process. As a result, the width of the text box was getting smaller and smaller each time. To fix, I put the following client-side code in:
if (typeof (Telerik) != "undefined" && typeof (Telerik.Web.UI.RadInputControl) != "undefined")
{
Telerik.Web.UI.RadInputControl.prototype._origReducePixelWidthByPaddings = Telerik.Web.UI.RadInputControl.prototype._reducePixelWidthByPaddings;
Telerik.Web.UI.RadInputControl.prototype._reducePixelWidthByPaddings = function ()
{
if (!this._reducedPixelWidthFlag)
this._origReducePixelWidthByPaddings();
}
}
Reporting this in hopes that a proper fix makes it into a future release.
Thanks,
- Mike Oliver