When I use a template for my dropdown I get a right-alignment on the selected item.
The dropdown is a width of 158px but the dropdown width is 300px to show 2 columns per my template. If I choose an item it will only show "xt wrapping... but why??" instead of "This is a problem with te"
Anyone know whats going on here?
<telerik:RadComboBox DataTextField="NAME" DataValueField="ORGANIZATION_ID" ID="cboLeadComp" runat="server" CollapseDelay="100" DropDownWidth="300px" Font-Size="Small"
HighlightTemplatedItems="True" MarkFirstMatch="True" TabIndex="7" ToolTip="Lead Component"
Width="158px" EnableLoadOnDemand="True">
<Items>
<telerik:RadComboBoxItem Text="This is a problem with text wrapping... but why??" />
<telerik:RadComboBoxItem Text="This is a probfas with text wrapping... but why??" />
</Items>
<ItemTemplate>
<table style="width: 100%" border="0" cellpadding="0" cellspacing="0">
<tr style="height: 5px">
<td style="width: 50px; height: 5px;text-align:left">
<%#DataBinder.Eval(Container.DataItem, "Name")%>
</td>
<td nowrap style="height: 5px;text-align:left">
<%#DataBinder.Eval(Container.DataItem, "Description")%>
</td>
</tr>
</table>
</ItemTemplate>
<HeaderTemplate>
<table style="width: 100%">
<tr>
<td style="width: 50px; height: 5px; font-weight: bold;text-align:left">
Name</td>
<td style="height: 5px; font-weight: bold;text-align:left">
Description</td>
</tr>
</table>
</HeaderTemplate>
</telerik:RadComboBox>
The dropdown is a width of 158px but the dropdown width is 300px to show 2 columns per my template. If I choose an item it will only show "xt wrapping... but why??" instead of "This is a problem with te"
Anyone know whats going on here?
<telerik:RadComboBox DataTextField="NAME" DataValueField="ORGANIZATION_ID" ID="cboLeadComp" runat="server" CollapseDelay="100" DropDownWidth="300px" Font-Size="Small"
HighlightTemplatedItems="True" MarkFirstMatch="True" TabIndex="7" ToolTip="Lead Component"
Width="158px" EnableLoadOnDemand="True">
<Items>
<telerik:RadComboBoxItem Text="This is a problem with text wrapping... but why??" />
<telerik:RadComboBoxItem Text="This is a probfas with text wrapping... but why??" />
</Items>
<ItemTemplate>
<table style="width: 100%" border="0" cellpadding="0" cellspacing="0">
<tr style="height: 5px">
<td style="width: 50px; height: 5px;text-align:left">
<%#DataBinder.Eval(Container.DataItem, "Name")%>
</td>
<td nowrap style="height: 5px;text-align:left">
<%#DataBinder.Eval(Container.DataItem, "Description")%>
</td>
</tr>
</table>
</ItemTemplate>
<HeaderTemplate>
<table style="width: 100%">
<tr>
<td style="width: 50px; height: 5px; font-weight: bold;text-align:left">
Name</td>
<td style="height: 5px; font-weight: bold;text-align:left">
Description</td>
</tr>
</table>
</HeaderTemplate>
</telerik:RadComboBox>