Hi All

I have one master page with more then 10 tabs.child page i have one check box. when i checked the check box all master page tabs goes disable stage and when i untick all tabs come enable stage..


Any one know replay me..


Thanks
Sg

Member Avatar for siju kuriakose

Hi,
Here You change Button1 to your tab id and use it..

protected void CheckBox1_CheckedChanged(object sender, EventArgs e)
{        
   Button bt=new Button();       
   bt = (Button)this.Master.FindControl("Button1");
   if (bt.Enabled == true)
   {
       bt.Enabled = false;
   }
   else
   {
       bt.Enabled = true;
   }
}
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.