The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
I have 2 controls which are tabbed document in the application. I want to selecte a tab manualy in the code. I tried Focus() method but it doesn't work.
VSVallarasu S Syncfusion Team October 18, 2010 05:16 PM UTC
Hi Elad,
Thanks for your interest in Syncfusion products.
Use the following code to activate a tab in TabbedMDIManger
TabHost[] tabHosts = tabbedMDIManager1.TabGroupHosts; Form[] MDIChilds = tabbedMDIManager1.MdiChildren as Form[]; if (MDIChilds != null && MDIChilds.Length >= 1) // You can iterate through the MDIChilds collection for a specific from and, // pass it to GetTabPageAdvFromForm() method // tabs[0].MDITabPanel.SelectedTab = tabs[0].MDITabPanel.GetTabPageAdvFromForm(form); tabHosts[0].MDITabPanel.SelectedTab = tabHosts[0].MDITabPanel.GetTabPageAdvFromForm(MDIChilds[1]);