Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2306
Question about Enable Property of a UltraTab
posted

 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

 

Parents
No Data
Reply
  • 17259
    Offline posted

    Put a panel inside the tab page, dock it to fill the tab page, put all controls in the panel and disable the panel.

Children