This is a migrated thread and some comments may be shown as answers.

Accessing outer grid column from inner grid

1 Answer 51 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Smiely
Top achievements
Rank 1
Smiely asked on 30 Jun 2011, 08:02 PM
protected void RadGrid1_PreRender(object sender, EventArgs e)
        {
            RadGrid RadGrid1 = (RadGrid)sender;
            if(RadGrid1.Items.Count==0)
            {
                RadGrid1.Visible = false;
            }
}

This is a inner RadGrid. In this, I would like to reach to outer RadGrid column and set that column visible=false. So  my question is how to I reach to parent grid column from inner grid ?

Please help,

Smiely

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 01 Jul 2011, 08:20 AM
Hello Smiely,

I am not sure about your requirement. Check the following help documentation which explains how to traverse through detail table.
Traversing detail tables/items in Telerik RadGrid.

Thanks,
Princy.
Tags
Grid
Asked by
Smiely
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or