paprykarz
paprykarz

Reputation: 351

kendo values moving beyond dropdown list with optionLabel

I got dropdown in Kendo. I use OptionLabel, but after using this my values are moving beyond the dropdown:

DropDown code:

enter image description here

Now how my values are moving beyond the dropdown

enter image description here

It's better look when I mouseover this value:

enter image description here

Anyway it's really looking bad. After remove OptionLabel everything is fine:

enter image description here

Is here any possibility to remove this issue with optionLabel? I need it, because null is also correct value to choose

Upvotes: 1

Views: 47

Answers (1)

Divyesh
Divyesh

Reputation: 11

Give height to your dropdown that can help you to make it more beautiful look
Refer below code for giving height to kendo dropdown

@(Html.Kendo().DropDownList()
   .Height(500)
)

Upvotes: 1

Related Questions