RadSlidingPane like a button

2 posts, 0 answers
  1. Orlando
    Orlando avatar
    5 posts
    Member since:
    Jun 2011

    Posted 13 Apr 2012 Link to this post

    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.
  2. Dobromir
    Admin
    Dobromir avatar
    1633 posts

    Posted 17 Apr 2012 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top