Skip to content

Infragistics Community Forum / Desktop / Ultimate UI for Windows Forms / How to select active tab dynamically for ultratabcontrol?

How to select active tab dynamically for ultratabcontrol?

New Discussion
mark
mark asked on Apr 11, 2018 3:57 AM

My code has create tabs dynamically in code behaind. If the user enters my form, the code should dynamically set the required active tab for his user role.

Anyone has idea?

Thanks,

davis 

Sign In to post a reply

Replies

  • 0
    Yasir
    Yasir answered on Sep 1, 2008 6:17 PM

    You have to do some workaround to accomplish this. May be you can store the form nam in tag property of the tab and then at runitme set active tab based on form name.

  • 0
    Mike Dour
    Mike Dour answered on Sep 15, 2008 3:12 PM

    Once you determine the tab which needs to be active, set it as the SelectedTab of the tab control.

    • 0
      winform_developer
      winform_developer answered on Dec 11, 2013 8:48 PM

      Awesome.

      " set it as the SelectedTab of the tab control."

      So how do you do that exactly.

      • 0
        winform_developer
        winform_developer answered on Dec 11, 2013 9:12 PM

        Got it.

        tcTasks.SelectedTab = tcTasks.Tabs("AllTasks")

         

  • 0
    mingchi chen
    mingchi chen answered on Apr 11, 2018 3:57 AM

    tcTasks.Tabs[tabindex].Selected = true;

  • You must be logged in to reply to this topic.
Discussion created by
Favorites
Replies
Created On
Last Post
Discussion created by
mark
Favorites
0
Replies
5
Created On
Apr 11, 2018
Last Post
7 years, 10 months ago

Suggested Discussions

Created by

Created on

Apr 11, 2018 3:57 AM

Last activity on

Feb 16, 2026 8:48 PM