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,
Hi Isaac,
Please do not hesitate to contact me if you need further assistance.
Thank you for your response. But the previous code didn't help me either. It may be using the wrong terminology. But here is the code it worked for me.
Dim uc As WebUserControl = DirectCast(Page.LoadControl("WebUserControl.ascx"), WebUserControl)
Me.WebTab1.Tabs(1).Controls.Add(uc)
I mean, I may be using the wrong terminology in my question ..sorry about that. :-)
Thank you for your response. Glad that your issue is resolved.
Please contact me if I can be of further assistance.
Best Regards,Petar IvanovDeveloper Support EngineerInfragistics, Inc.http://es.infragistics.com/support
Thank you Petar. We are having problems with WebTab lately. Is there a way I can send a sample here which is more than limited MB we can upload?
If so, Please let me know.
Dear
I added dynamically tab controls using Template (From CodeBehind) and then try to find out controls in added tabs. But I unable to find controls. How it is possible?? Please let me know as early as possible.
Regards
Suday
Please do not hesitate to post questions on the forum / open a support ticket if you are experiencing issues.
That is awesome. Thank you so much for your concern.Will post all my concerns over that support site you sent me.
I have created a support case for you with an ID of CAS-75057-WY9KGZ in order for us to be able to attend to your issues with WebTab.
You can observe your active support tickets by going to infragistics.com > My IG > My Support Activity.