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

[Solved] Visible and invisible

1 Answer 106 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Ashok
Top achievements
Rank 1
Ashok asked on 27 Feb 2013, 12:10 PM
in hirarichal radgrid inside footertemplate have panel here set visible false then click button event panel visible true

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 27 Feb 2013, 12:34 PM
Hi,

I suppose you want to show the panel in FooterTemplate from external button click. Here is the sample code.
C#:
protected void Button4_Click(object sender, EventArgs e)
{
        foreach (GridFooterItem item in RadGrid1.MasterTableView.GetItems(GridItemType.Footer))
        {
            Panel pnl = (Panel)item.FindControl("Panel1");
           pnl.Visible = true;
        }
 }

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