AD
Administrator
Syncfusion Team
September 30, 2003 12:33 PM UTC
I don't think so. Both objects require the name to be set. So if you change the Contorl.Name of the grid then you should also change the name of the tab and vice versa.
Stefan
TH
Thomas
September 30, 2003 02:24 PM UTC
I'm not shure if this would be a solution for you:
foreach( TabPageExt tab in this.tabControlExt1.TabPages )
{
foreach( Control ctrl in tab.Controls )
{
if( ctrl is Syncfusion.Windows.Forms.Grid.GridDataBoundGrid )
{
ctrl.Name = tab.Name + "Grid";
}
}
}
Regards
Thomas