Hi
I have a three level hierarchal grid on a MasterPage
Mentor - master
- Relationship - datail[0]
- - RelationshipSurvey -detail[1]
The Insert happens by RadWindow.
For the ‘ – Ralationship’ I pass a QueryString to RadWindow as
RadGridMentor_ItemCreated
((GridItem)(e.Item.OwnerTableView.ParentItem)).ItemIndex.ToString();
On and then return back on
protected override void RaisePostBackEvent (IPostBackEventHandler sourceControl, string eventArgument)
{
if (sourceControl is RadAjaxManager)
{
GridTableView nestedTableViewRel = (RadGridMentor.MasterTableView.Items[Int32.Parse(eventArgument)] as GridDataItem).ChildItem.NestedTableViews[0];
nestedTableViewRel.Rebind();
}
}
How can I Identify a third level detail table ‘ - - RelationshipSurvey’ from which expand command fired.
And rebind it on protected override void RaisePostBackEvent
Like:
GridTableView nestedTableViewSurvey = ((RadGridMentor.MasterTableView.Items[Int32.Parse(eventArgument)] as GridDataItem).ChildItem.NestedTableViews[0]).Items[1].ChildItem.NestedTableViews[1];
nestedTableViewSurvey.Rebind();
Thank you
//Stas