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
175
Upgrading from UltraWebTab to WebTab
posted

Hi,

My original code was using UltrawebTab

UserControls_GridControl gridUC = UltraWebTab.Tabs.FromKeyTab(tabItem.Key).ContentPane.UserControl as UserControls_GridControl;

Now I upgraded my code to use WebTab from Infragistics.Web.UI.LayoutControls
I have tried following wasy to get the usercontrol but everytime gridUC = null

UserControls_GridControl gridUC = webTab.Tabs.FindTabFromKey(tabItem.Key).FindControl(tabItem.ClientID) as UserControls_GridControl;

and

 string userControlUrl = tabItem.UserControlUrl;

UserControls_GridControl gridUC = webTab.Tabs.FindTabFromKey(tabItem.Key).FindControl(userControlUrl) as UserControls_GridControl;

           
I have been struggling to get this working. Appreciate your help

DK