RadComboBox changes width/height
|
Article relates to
|
RadComboBox v2.8x
|
|
Created by
|
Nick
|
|
Last modified
|
11/26/2007
|
|
Last modified by
|
NIck
|
If for some reason the combobox' height or width changes after callback/postback or upon switching tabs, you could use one of the following workarounds to solve the problem:
- Execute the JS script below upon page_load or changing the tabs:
| var combo =<%=RadComboBox1.ClientID%>; |
| combo.FixUp(combo.InputDomElement,true); |
- Hardcoding the height/width of the combobox' input field like:
| <style type="text/css"> |
| .ComboBoxInput_YourSkinName{width:100px !important;} |
| .ComboBoxInputHover_YourSkinName{width:100px !important;} |
| </style> |
Comments
-
crownmark ,
Jan 9, 2008
Been having issues with combo boxes in ajax panels and sliders where the combo box would change size just enough to cause a flicker after an ajax response. The script above fixed the issue and now the flicker does not occur. Good one!
-
Yelena ,
Mar 11, 2008
It would be nice to get a fix for that...
-
Telerik Admin ,
Apr 1, 2008
This problem does not exist with the RadComBoBox Prometheus as part of Telerik.Web.UI
If you'd like to comment on this KB
article, please, send us a
Support Ticket.
Thank you!
Please
Sign In
to rate this article.