Hello!
Suppose you have 2 tabs on a ultratab control, for example: Tab1,Tab.
My requirements are that a user can switch between tabs but cannot edit data within the tabs.
Now, i have tried to set the enable property to false,
ultraTabControl1.Tabs["Tab1"].Enabled = false; ultraTabControl1.Tabs["Tab2"].Enabled = false;
and it works partially, i mean the user cannot edit the data but the problem is that switching between tabs does not work.
how can i achieve that behaviour?
thank you
Put a panel inside the tab page, dock it to fill the tab page, put all controls in the panel and disable the panel.
Hi jct!
Currently i fill this ultratabs with usercontrols but i just want to know if i can achieve the desired behavour using the enable property(or another one)...
thank you.
It's not an official answer, but I think you can't do that. The controls are being added directly to the TabPage and not to an internal panel, so you can put all your user controls in one panel, or iterate through all controls and disable them.