This question is locked. New answers and comments are not allowed.
I have a ComboBox in razor view. Content of the combo box is populated at client side multiple times.
I have set the width of dropdown to "auto" as follows
@(Html.Telerik().ComboBox().Name("Groups_ID").AutoFill(true).DropDownHtmlAttributes(new { style = "width:auto;" }))
When I pull down the dropdown first time, it sets it width using it's content. However, if the combobox is populated again, and if I pull down it, the width does not get adjusted as per the new content.
How can tell the combo to adjust its width whenever the content is populated?
I have set the width of dropdown to "auto" as follows
@(Html.Telerik().ComboBox().Name("Groups_ID").AutoFill(true).DropDownHtmlAttributes(new { style = "width:auto;" }))
When I pull down the dropdown first time, it sets it width using it's content. However, if the combobox is populated again, and if I pull down it, the width does not get adjusted as per the new content.
How can tell the combo to adjust its width whenever the content is populated?