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

RadSlidingPane like a button

1 Answer 46 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
Orlando
Top achievements
Rank 1
Orlando asked on 13 Apr 2012, 08:01 PM
Hi, i'm using rad splitter/slidingZone and several slidingPane inside, but i need that one of these SlidingPane not show the Pane and works like a button. In summary i need that one Sliding pane hide the pane and click on it and redirect to another page

...is there a way to do this? 


regards,
Orlando.

1 Answer, 1 is accepted

Sort by
0
Dobromir
Telerik team
answered on 17 Apr 2012, 03:32 PM
Hi Orlando,

RadSplitter does not offer the required functionality out-of-the-box. Nevertheless, you can achieve the required functionality using the following approach:
  1. Assign handler to the ClientBeforeExpand client-side event of the sliding pane, and cancel the execution.
  2. Handle the splitter's load event to get reference to the sliding pane's tab element and assign handler to its click event and set window.location to the URL that the page should be redirected.

For your convenience I have attached sample page demonstrating this approach.


All the best,
Dobromir
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Splitter
Asked by
Orlando
Top achievements
Rank 1
Answers by
Dobromir
Telerik team
Share this question
or