hi everyone,
How Can i add a Gridview Inside An Accordion Control?
My Gridview includes Template Fields and so it's quiete hard to do it by code.
so I want each row in the gridview to be a Pane less or more
i'll be thankful if you help me
Eric
Try this.
Yes that will work , but since i want not known numbers of Panes and each pane has a gridview as a content so i made up this:
{
GV.DataSource = DT1;
GV.DataBind();
GV.HeaderRow.Visible =
GV.BorderWidth = 0;
GV.Width = 500;
GV.BackColor =
Pane.HeaderContainer.Controls.Add(
Pane.ContentContainer.Controls.Add(GV);
MyAccordion.Panes.Add(Pane);
}
......