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
600
Enable tabs on tabcontrol in Page_load fails
posted

NetAdvantage 2010 Vol 3

Steps:

·       Add a tabcontrol to a winform and add some tabs  (eg. 6 tabs) to it.

·       Set for tab3 till 6 the enabled to false using the properties window.

·       In the page_load event write following code:

For Each tab As Infragistics.Win.UltraWinTabControl.UltraTab In UltraTabControl1.Tabs

   tab.Enabled = True

Next

The result of this is that the tabs are still disabled. I expected that the tabs would be all enabled.

 

Setting tab.Enabled = false, does work as excpected. (all are disabled)

Workaround for the problem is check first if the tab is enabled (if not tab.enabled = true then tab.enabled = true)

Can someone tell me what the problem can be.

PS: It works fine in NetAdvantage 2010 vol 1

 

Parents
No Data
Reply
  • 4618
    posted

    Hi sidhume,

    I am currently looking into this issue for you and I, or one of my collegues, will be following up with you shortly, with a solution.

    If you have any further questions at all, related to this issue in the meantime, please let me know.

    Sincerely,
    Chris K
    Developer Support Engineer
    Infragistics, Inc.
    www.infragistics.com/support

Children