How to find a RadPane from another page...

4 posts, 0 answers
  1. Ian Wells
    Ian Wells avatar
    25 posts
    Member since:
    Jul 2009

    Posted 28 Jul 2009 Link to this post

    Hi folks,

    I am really stumped on this and really need some help please if possible. I have a default.aspx page that contains my telerik framework amde up of splitters and radpanes. I have one RadPane that on press off a button I pass its ContentUrl property a url of a page I have called 'Image.aspx'.

    At some point within image.aspx I want to be able to press an icon within that page and find one of the RadPanes on default.aspx and collapse it. I am tearing my hair with this one. At first I tried this but it doesn't work:

    RadPane searchPane = (RadPane)Page.FindControl("rpSearch"); 
    searchPane.Collapsed = true

    Can anyone please help me?

    Cheers,
    Ian


  2. Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 29 Jul 2009 Link to this post

    Hi Ian Wells,

    The only way you can achieve what you need is through client-side javascript code. You can find a detailed KB artcle below:

    http://www.telerik.com/support/kb/aspnet-ajax/splitter/referencing-content-page-in-a-splitter-pane-from-the-parent-page-and-vice-versa.aspx

    In case you have questions or you need further assistance, do not hesitate to contact us again.

    Greetings,
    Svetlina
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Ian Wells
    Ian Wells avatar
    25 posts
    Member since:
    Jul 2009

    Posted 30 Jul 2009 Link to this post

    Hi Svetlina,

    Thank you for your reply. That info helps a lot

    Cheers,
    Ian
  5. Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 04 Aug 2009 Link to this post

    Hello Ian Wells,

    I am glad I could help, in case you experience any further problems, do not hesitate to contact us again!

    Best wishes,
    Svetlina
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top