I have a grid with a GridDropDownColumn. In normal browse mode the data wont display, even though there are rows in the grid, the column GridDropDownColumn doesnt show the data. If I select edit, the drop down appears with the data. Ive been trying to find a solution to this for quite a while, even telerik support cant help me. Can anyone help ? Heres the code for the grid.
<telerik:RadGrid ID="RadGridSecondaryCategories" runat="server" OnNeedDataSource="RadGridSecondaryCategories_NeedDataSource" |
AutoGenerateEditColumn="True" AutoGenerateDeleteColumn="True" AllowAutomaticInserts="False" |
AllowAutomaticDeletes="False" GridLines="None" |
AllowAutomaticUpdates="False" AllowSorting="True" |
Skin="Vista" AllowMultiRowEdit="False" |
onitemcommand="RadGridSecondaryCategories_ItemCommand" |
onitemdatabound="RadGridSecondaryCategories_ItemDataBound" |
ondeletecommand="RadGridSecondaryCategories_DeleteCommand" |
oninsertcommand="RadGridSecondaryCategories_InsertCommand" |
onupdatecommand="RadGridSecondaryCategories_UpdateCommand" PageSize="5"> |
<MasterTableView CommandItemDisplay="Top" AutoGenerateColumns="False" OverrideDataSourceControlSorting="True" |
EditMode="InPlace" UseAllDataFields="True" > |
<RowIndicatorColumn> |
<HeaderStyle Width="20px" /> |
</RowIndicatorColumn> |
<ExpandCollapseColumn> |
<HeaderStyle Width="20px" /> |
</ExpandCollapseColumn> |
<Columns> |
<telerik:GridBoundColumn DataField="ID" DataType="System.Int32" HeaderText="ID" |
ReadOnly="true" Visible="false" SortExpression="ID" UniqueName="ID"> |
</telerik:GridBoundColumn> |
<telerik:GridDropDownColumn DataField="Category" |
ListTextField="Category" ListValueField="Category" HeaderText="Category" UniqueName="SecondaryCategory" Display="True"> |
</telerik:GridDropDownColumn> |
</Columns> |
</MasterTableView> |
<FilterMenu EnableTheming="True"> |
<CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation> |
</FilterMenu> |
</telerik:RadGrid> |