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

How to add RADSLIDINGPANE on the client side?

4 Answers 84 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
tomas
Top achievements
Rank 1
tomas asked on 22 Oct 2008, 08:44 PM
so how? :-)

Thank you very much. Tom

4 Answers, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 23 Oct 2008, 08:35 AM
Hi Tomas,

Would you please provide more details about your scenario and why you need to create the RadSlidingPane on the client?

Creating the RadSlidingPane on the client will be a difficult task because of the following reasons:

  1. It is a container control and if you create it on the client, you should write all the HTML for its content because by default the HTML is rendered from the server.
  2. You should "notify" the RadSlidingZone for the newly created RadSlidingPane and to add it to the zone.

I strongly recommend to try implementing your scenario by hiding the RadSlidingPane's tab through code and show it when needed. To do this you can use the sliding pane's client-side API and the showTab and hideTab methods.

Sincerely yours,
Svetlina
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
tomas
Top achievements
Rank 1
answered on 23 Oct 2008, 09:18 AM
Hi Svetlina,

I want to create similar UI to Visual Studio and I have already done this, but my solution is working only in IE.

I want to enable the user to create new sliding tabs with content generated on the server. How? I put only one tag <iframe></iframe> with src attribute containing URL and some attributes.

I don’t want to use your RadTabStrip control because of missing sliding effect.

I don't need to post back information about newly created/deleted (closed-removed) sliding panes. It is simply client-side solution. 

Users of my applications sometimes open about 20 documents, but this is not typical behavior. So I don’t want to hide 19 sliding panes in every generated UI because of wasted data volume.

Tom

 

0
Accepted
Svetlina Anati
Telerik team
answered on 28 Oct 2008, 04:45 PM
Hi Tomas,

We prepared for you a sample project which creates a RadSlidingPane on the client - please note that we do not recommend to use this as it is not supported by the |RadSplitter control. The state will not be preserved and you should take care of it. We also do not support functionality which is not available out of the box and this being said if you encounter problems with this implementation, we will not support it.

I hope that the provided solution and information are helpful.

All the best,
Svetlina
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
tomas
Top achievements
Rank 1
answered on 30 Oct 2008, 06:56 PM
Hi Svetlina.

Thank you very, very much.

I am quite shocked.

I think you are providing the best support I have ever seen.

Thank you very much again.

Tom
Tags
Splitter
Asked by
tomas
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
tomas
Top achievements
Rank 1
Share this question
or