I have a situation where I'd like certain controls disabled when the form 1st comes up. The RadComboBox is coming up looking like crap. I've included a link to a picture of what I'm talking about: Example
I'm using the 2.8.7.0 version along with the included Vista skin. The code to generate the 2 ComboBoxes in the picture are as following:
I'm using the 2.8.7.0 version along with the included Vista skin. The code to generate the 2 ComboBoxes in the picture are as following:
| <radC:RadComboBox ID="ddlSecState" runat="server" SkinsPath="~/RadControls/ComboBox/Skins" Skin="Vista" |
| Height="200px" DropDownWidth="200px" HighlightTemplatedItems="True" Width="50px" |
| DataSourceID="sdsSecState" DataTextField="state_code" DataValueField="state_code" |
| MarkFirstMatch="True" EnableTheming="True" Enabled="false"> |
| <ItemTemplate> |
| <table style="width: 190px; text-align: left"> |
| <tr> |
| <td style="width: 25px;"> |
| <%#DataBinder.Eval(Container.DataItem, "state_code")%> |
| </td> |
| <td style="width: 170px;"> |
| <%#DataBinder.Eval(Container.DataItem, "state_descr")%> |
| </td> |
| </tr> |
| </table> |
| </ItemTemplate> |
| </radC:RadComboBox> |
| and |
| <radC:RadComboBox ID="ddlSecCountry" runat="server" SkinsPath="~/RadControls/ComboBox/Skins" Skin="Vista" |
| Height="200px" DropDownWidth="200px" HighlightTemplatedItems="true" Width="200px" |
| AutoPostBack="true" DataSourceID="sdsCountryList" DataTextField="country_name" |
| DataValueField="country_list_id" HideCombo="false" AllowCustomText="false" MarkFirstMatch="true" |
| SelectOnTab="false" ShowDropDownOnTextboxClick="false"> |
| <ItemTemplate> |
| <table style="width: 190px; text-align: left"> |
| <tr> |
| <td style="width: 100%;"> |
| <%#DataBinder.Eval(Container.DataItem, "country_name")%> |
| </td> |
| </tr> |
| </table> |
| </ItemTemplate> |
| </radC:RadComboBox> |