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.LayoutControlsI 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
Hello,Please let me know if you have any further questions regarding this issue.
Hello dKaul Please take a look at the attached sample. It is showing how to get WDG from the second tab of a WebTab. I see you are using custom controls and since i am not familiar with the code of your control i can not provide any suggestions why it does not work. If you have further questions please attach a sample code. I will have to reproduce the behavior on my own and see what could be causing it.