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

master pages - sliding pane dock

3 Answers 66 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
rad
Top achievements
Rank 1
rad asked on 07 Jul 2008, 08:43 PM
How do I dock the sliding pane and retain its state in master page?
i have a radspliiter-radpane-radslidingzone and radpane.
i want to dock the sliding zone and pane within that.
all these are in master pages..how do i dock the slidingzone and pane beneath it.    

3 Answers, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 08 Jul 2008, 10:34 AM
Hello rad,

In case you want to dock the pane by using the RadSplitter's client-side API, you should use the blocks and the controls client IDs. This is necessary because the MasterPage is an INaming Container and it changes the controls IDs. For example, in order to obtain a reference to RadPane1 you should use the following line:

$find("<%=RadPane1.ClientID%>"); 

Let me know if you need further assistance or in case I have not understand you correctly.


Regards,
Svetlina
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
rad
Top achievements
Rank 1
answered on 01 Aug 2008, 05:31 PM
can you send me a full example for this?

thanks
0
Svetlina Anati
Telerik team
answered on 04 Aug 2008, 11:20 AM
Hello rad,

I read your other forum thread and I left with the impression that you want to have a RadSlidingPane docked to all your content page and you do not need to dock it on the client.

If I am right, you can do this on the server by setting the zone's DockedPaneId property as shown below:

 protected void Page_Load(object sender, EventArgs e)  
    {  
        RadSlidingZone1.DockedPaneId = RadSlidingPane1.ClientID;  
     
    } 

In case I did not completely understand you, please provide more details about your scenario. You can also examine the attached demo which shows the provided approach.

All the best,
Svetlina
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
General Discussions
Asked by
rad
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
rad
Top achievements
Rank 1
Share this question
or