This is a migrated thread and some comments may be shown as answers.

How to find a RadPane from another page...

3 Answers 80 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
Ian Wells
Top achievements
Rank 1
Ian Wells asked on 28 Jul 2009, 08:34 PM
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


3 Answers, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 29 Jul 2009, 02:25 PM
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.
0
Ian Wells
Top achievements
Rank 1
answered on 30 Jul 2009, 10:55 AM
Hi Svetlina,

Thank you for your reply. That info helps a lot

Cheers,
Ian
0
Svetlina Anati
Telerik team
answered on 04 Aug 2009, 09:49 AM
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.
Tags
Splitter
Asked by
Ian Wells
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Ian Wells
Top achievements
Rank 1
Share this question
or