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

Radpane hide/show (visible) javascript

2 Answers 232 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
iomega 55
Top achievements
Rank 1
iomega 55 asked on 18 Dec 2009, 06:23 AM
How can I hide or show a radpane with javascript?

I dont see a visible or hide or show property on the clientside.

thanks

2 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 18 Dec 2009, 09:17 AM
Hello,

You can use the expand() / collapse() methods in order to change the visibility. Checkout the following documentation for the important methods of RadPane client object.
Client-Side Basics
RadPane Client Object

-Shinu.
0
Svetlina Anati
Telerik team
answered on 18 Dec 2009, 03:05 PM
Hello iomega 55,

Indeed, if you want to show/hide a rqadPane on the client you should use the expand and collapse methods as Shinu explained. You can find a demo below:

http://demos.telerik.com/aspnet-ajax/splitter/examples/clientsideapi/defaultcs.aspx


In case you want to show/hide a RadSlidingPane on the client you should use the RadSlidingZone's ExpandPane/CollapsePane as shown in the demo below:

http://demos.telerik.com/aspnet-ajax/splitter/examples/sp_clientsideapi/defaultcs.aspx

All the best,
Svetlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Splitter
Asked by
iomega 55
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Svetlina Anati
Telerik team
Share this question
or