Let's say you're having GridView in
Deafault.aspx
and you want to access it on Page1.aspx, Page2.aspx and Page3.aspx.
So what you can do is, make a
public property
for it and with the help of page instance you can call that Grid.
For example,
Default.aspx
public GridView MyGrid
{
get { return GridView1; }
set { GridView1 = value; }
}
Page_Load(...)
{
}
Page1.aspx / Page2.aspx / page3.aspx
Page_Load()
{
Default df = new Default();
GridView2 = df.MyGrid;
}
It's just my blind assumption that it's gonna work. If it is not, let us know :)
-KR