I have an AutoCompleteBox that cuts off the last letter of the default message.
This only happens on load and in Mozilla FireFox.
After the user focuses the AutoCompleteBox and loses focuses the full default message is available.
It seems that this is related to the inability of FireFox to handle the size property of the input elements. On initial load, the input is sized by setting the size property of the input.
A possible workaround would be calling the internal _updateInputSize method in the OnClientLoad event of the AutoCompleteBox:
function OnClientLoad(sender, args) { if (Telerik.Web.Browser.ff) { sender._updateInputSize(); }}
.racTokenList{
width:250px !important;
}
#RadAutoCompleteBox1_Input{
width:250px !important;
}Hello David,
The same issue seems to replicate sometimes in Chrome browser also. As the empty message is visible when there are no selected tokens, you can use the following style to ensure the minimum width of the AutoCompleteBox:
.RadAutoCompleteBox .racInput.racEmptyMessage {
min-width:90%;
}In such a case, the JavaScript provided in the initial post should not be necessary.
Regards,
Peter Milchev
Progress Telerik