Radpane hide/show (visible) javascript

3 posts, 0 answers
  1. iomega 55
    iomega 55 avatar
    64 posts
    Member since:
    Dec 2004

    Posted 18 Dec 2009 Link to this post

    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. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 18 Dec 2009 Link to this post

    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.
  3. Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 18 Dec 2009 Link to this post

    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.
Back to Top