Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Tab Control
Message
From
04/02/2009 09:27:13
John Baird
Coatesville, Pennsylvania, United States
 
 
To
04/02/2009 09:10:48
General information
Forum:
ASP.NET
Category:
Web forms
Title:
Miscellaneous
Thread ID:
01379092
Message ID:
01379202
Views:
18
>>I need to be able to disable tab pages when a form is in Edit mode. I'm looking for something simple like tabPage1.enable = true/false. However, I don't see anything. I can't disable the entire tab control as the textboxes I'm editing are on the tab control page.
>>
>>Is there an easy way to enable and disable individual pages?
>>
>>thanks
>
>>Hi,
>
>>There is a Tabpage.Enabled property.......
>
>
>I looked at that but it Help states it is not used in .net framework and it doesn't compile if I try to force it. at least this is the case in VS 2008. So I'm either missing something or it's not working.
>
>Alan


There are some code workarounds for this that are not that easy to implement (it involves owner drawing the tabs). The easiest sollution is to use a 3rd party tab control that supports enabling/disabling, removing,.... etc.
Previous
Reply
Map
View

Click here to load this message in the networking platform