How to disable or make invisible a single tab in code behind

1 reply. Last post: September 19, 2011 12:23 AM by Handy Surya
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
Beryl BucherMember

I'm having an odd problem.  In code-behind, I want to either disable or hide specific tabs.  However, when I try code like:

WebTab1.TabPages[2].Tab.Visible = false;

WebTab1.TabPages[2].Tab.Enabled = false;

it disables, or makes invisible, the entire web tab is disabled or made invisible.  I'm clearly using incorrect syntax here - can you tell me what it should say?

Thanks!

Beryl

All times are GMT -5. The time now is 1:26 PM.
Previous Next