Hi can someone tell me how to set width for kendo dropdown? Here is my code sample and it is not working. Anything wrong in that?
$(\"#div1\").kendoDropDownList(
If MVC Razor DropDownList HTML helper/wrapper syntax is applied, then you can use method HtmlAttributes to specify the width of dropdown list like:
@(Html.Kendo().DropDownList() .Name("myDDL") .HtmlAttributes(new { style="width:100px" })