Access ascx control from another ascx control

4 posts, 0 answers
  1. Minas
    Minas avatar
    5 posts
    Member since:
    Sep 2012

    Posted 06 Nov 2012 Link to this post

    I am working an Asp.net project, I am loading two user controls into another ascx control which uses RadSplitter to divide them. First, I am loading the control1.ascx and then the control2. After loading both of them inside control2.ascx I want to access a function that reloads some data of control1. I am doing it with the following code:

     private ASP.control1_ascx tree; 
     tree = (ASP.control1_ascx)LoadControl("control1.ascx");
     tree.aload();

    When I debug the code, it seems that it calls the aload() function and updates the RadTreeView. But the problem is that I cannot see them after the function is called, instead I can see the correct data after a postback event. Why is this happens?. Is there a solution to see them when I call the function ?

  2. Vessy
    Admin
    Vessy avatar
    1382 posts

    Posted 08 Nov 2012 Link to this post

    Hi Minas,

    Unfortunately we are not aware of such issue and the provided information was not enough to reproduce it. Could you provide more details regarding specific scenario?
    • Which version of RadControls for ASP.NET AJAX and .NET Framework are used in the application?
    • Could you please provide a simple fully runnable project reproducing the problem so we can investigate it further?
    Thank you in advance for your cooperation.

    Regards,
    Vesi
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Minas
    Minas avatar
    5 posts
    Member since:
    Sep 2012

    Posted 12 Nov 2012 Link to this post

    How can i provide you the test project that i developed ?
  5. Vessy
    Admin
    Vessy avatar
    1382 posts

    Posted 12 Nov 2012 Link to this post

    Hi Minas,

    In order to attach a project you will need to open a formal support ticket and to provide the code in it.

    Regards,
    Vesi
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top