We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

DropDownList problem with Width

Thread ID:





123540 Mar 28,2016 02:19 PM UTC Mar 30,2016 12:30 PM UTC ASP.NET MVC 3
Tags: DropDownList
Davide Bitetto
Asked On March 28, 2016 02:19 PM UTC


  I have a problem with DropDownList Control size.

  I've used it in the following way:

  @Html.EJ().DropDownListFor(x => x.IDProdotto).Width("400px").Datasource(Model.Prodotti).DropDownListFields(f => f.Value("Value").Text("Text")).Value(Model.IDProdotto.ToString()).ShowRoundedCorner().CssClass("float-left")

  What I obtain is as follow:


  If I reduce the size only popup resizes until 200, under 200 also dropdown starts to reduce.

  What I have to do to obtain the right size?

  Thanks in advance.


Keerthana Rajendran [Syncfusion]
Replied On March 29, 2016 12:46 PM UTC

Hi Davide,

We regret for the inconvenience caused

We tried a DropdownListFor sample, we couldn’t reproduce the same issue while resizing popup as you mentioned .Width property of dropdown will set value to dropdown textbox whereas PopupWidth is a property by which you can set width only for popup you may also set MinPopup and MaxPopup width during popup resize

Please refer the below given documentation link:

Please refer the below given sample link:


Davide Bitetto
Replied On March 29, 2016 01:18 PM UTC

I've just watched reference and also samples given online before ask here.

The fact is I'm not able to have the dropdown greater than 200px, even if width is set to 400 (but popup size is 400 instead, as you can see in the screenshot).

So... what could be the problem?


Keerthana Rajendran [Syncfusion]
Replied On March 30, 2016 12:30 PM UTC

Hi Davide,

We were unable to reproduce the reported issue on our end and we request you to share some of the following mentioned details with us.

·Which version of MVC and assemblies you are using?

·Could you please share a sample which reproduces the issue?




This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon