我下面有一個RadComboBox
: -如何提高RadComboBox`的`了`DropDownHeight`包含`Templates`
<telerik:RadComboBox ID="RadComboBoxNames" runat="server" Width="470px" DropDownAutoWidth="Enabled" MaxHeight="363px" Skin="MySkin" EmptyMessage="Select"
HighlightTemplatedItems="True" DataValueField="ID" DataTextField="ID" OnDataBound="RadComboBoxNames_DataBound" >
<HeaderTemplate>
<table style="width: 250px; text-align: left">
<tr>
<td style="font-weight: bold; width: 60px;">ID</td>
<td style="font-weight: bold; width: 180px;">Name</td>
</tr>
</table>
</HeaderTemplate>
<ItemTemplate>
<table style="width: 250px; text-align: left">
<tr>
<td style="width: 60px;"><%#DataBinder.Eval(Container.DataItem, "ID")%></td>
<td style="width: 180px;"><%#DataBinder.Eval(Container.DataItem, "Name")%></td>
</tr>
</table>
</ItemTemplate>
</telerik:RadComboBox>
現在我DropDown
高度不363px
我在MaxHeight
屬性已經設置,它是非常小,不增加我的dropdown
高度,即使我增加MaxHeight
財產的價值!
如何增加我的DropDownHeight
我的RadComboBox
?我必須使用任何造型技巧嗎?請幫助,謝謝。
非常感謝,但我找到答案的任何方式,它非常簡單,只需保持RadComboBox的'Height'屬性! –
我剛剛檢查過你的問題,我沒有看到'RadCombobox'的'寬度'和'MaxHeight'之間的任何關係。 –
對不起,它是高度(不是寬度),我現在編輯了我的問題! –