Hi, We are updating from older version from newer version of Infragistics Asp.net , I am new using these controls.
My Old :
Dim tabPointer As Profiles.PlugIn.layout.Presentation.ProfilePersonal = _
CType(UltraWebTab1.GetTab(ProfileTabPersonalIndex).ContentPane.UserControl, _
Profiles.PlugIn.layout.Presentation.ProfilePersonal)
New : ? How do I do the same, for the highlighted ones since there is no contentPane property inside a tab.?
Please help !
Regards,
Isaac
Hi IsaacG,
Here is an example of how you should be able to get the ID of your user control:
UltraWebTab1.FindControl("myUserControlID").ID
Please tell me if this helps.
Best Regards,
Petar IvanovDeveloper Support EngineerInfragistics, Inc.http://es.infragistics.com/support
Hi Petar,
Thank you for your response. I tried but it didnt help. I am using WebTab not UltraWebTab.
//I tried the following code:
Control userCtrl = WebTab1.Tabs[0].FindControl("WebUserControl1.ascx");
Label labelInsideUserCtrol = (System.Web.UI.WebControls.Label)WebTab1.Tabs[0].FindChildControl("Label1");
if (userCtrl != null)
labelInsideUserCtrol.Text = "User Control Found";
else
labelInsideUserCtrol.Text = "User Control Not Found";
Result is it is showing userCtrl = null.
I am trying to get the reference of the UserControl,