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
Once you determine the tab which needs to be active, set it as the SelectedTab of the tab control.
Awesome.
" set it as the SelectedTab of the tab control."
So how do you do that exactly.
Got it.
tcTasks.SelectedTab = tcTasks.Tabs("AllTasks")