I created a Hierarchy grid in my page with object data sources.. calling some static methods in the code behind..
When i run the code.. i see the little arrow indicating the rows are expandable.. but when i click on it .. it wont expands..
I did see the call being made to the selectmethod in ods2 (see below) with the proper parentid value..
(select method prototype is .. List<...> SelectDataForODS2(int ParentId) {} ).. there was even values returned .. but the rows wont expand.
What am i missing?
<telerik:RadGrid ID="....... DataSourceID="ods1">
<MasterTableView AutoGenerateColumns="False" DataSourceID="ods1" DataKeyNames="parentid"
EditMode="EditForms" AllowFilteringByColumn="False" AllowMultiColumnSorting="True">
<DetailTables>
<telerik:GridTableView Name="..." runat="server" AutoGenerateColumns="False"
DataKeyNames="childid" DataSourceID="ods2" Width="100%">
<ParentTableRelation>
<telerik:GridRelationFields DetailKeyField="parentid"
MasterKeyField="parentid" />
</ParentTableRelation>
<Columns>........
........................................
When i run the code.. i see the little arrow indicating the rows are expandable.. but when i click on it .. it wont expands..
I did see the call being made to the selectmethod in ods2 (see below) with the proper parentid value..
(select method prototype is .. List<...> SelectDataForODS2(int ParentId) {} ).. there was even values returned .. but the rows wont expand.
What am i missing?
<telerik:RadGrid ID="....... DataSourceID="ods1">
<MasterTableView AutoGenerateColumns="False" DataSourceID="ods1" DataKeyNames="parentid"
EditMode="EditForms" AllowFilteringByColumn="False" AllowMultiColumnSorting="True">
<DetailTables>
<telerik:GridTableView Name="..." runat="server" AutoGenerateColumns="False"
DataKeyNames="childid" DataSourceID="ods2" Width="100%">
<ParentTableRelation>
<telerik:GridRelationFields DetailKeyField="parentid"
MasterKeyField="parentid" />
</ParentTableRelation>
<Columns>........
........................................