Hello,
For some reason, we have to upgrade our project's .NET Framework's version to 4.5. But after we did this, we found there are some bugs in telerik controls.The Telerik.Web.UI.dll file's version is 2009.3.1314.35.
You can see all the input's width become '100%', even if you set a width to it. I checked the code, and found the reason.
You can check the class RadInputControl
I think if you remove the code this.Browser.IsBrowser("Gecko"). this bug will be fixed. Because I don't have the code, so I cannot compile a new dll. If you can give me a new dll that will be great. If you need more information you can tell me.
Thanks.
For some reason, we have to upgrade our project's .NET Framework's version to 4.5. But after we did this, we found there are some bugs in telerik controls.The Telerik.Web.UI.dll file's version is 2009.3.1314.35.
You can see all the input's width become '100%', even if you set a width to it. I checked the code, and found the reason.
You can check the class RadInputControl
if ((base.DesignMode || !this.Browser.IsBrowser("Gecko")) || ((this.Browser.IsBrowser("Gecko") && !this.setWidth.IsEmpty) && (this.setWidth.Type == UnitType.Percentage))) { writer.AddStyleAttribute("width", "100%"); } else { writer.AddStyleAttribute("width", this.setWidth.IsEmpty ? this.defaultWidth.ToString() : this.setWidth.ToString()); }
I think if you remove the code this.Browser.IsBrowser("Gecko"). this bug will be fixed. Because I don't have the code, so I cannot compile a new dll. If you can give me a new dll that will be great. If you need more information you can tell me.
Thanks.