There a way to Disable the RadSlidingPane?

4 posts, 0 answers
  1. Fred
    Fred avatar
    86 posts
    Member since:
    Sep 2008

    Posted 14 Nov 2008 Link to this post

    Is there a way to disable the Sliding Pane?  I tried setting it it to visible=false but the it gives me javascript errors.

    So now I would like to just disable it instead. Perferable on server-side but if client-side is the only way then I'd have to work with that.
  2. Svetlina Anati
    Svetlina Anati avatar
    2795 posts

    Posted 17 Nov 2008 Link to this post

    Hello Fred,

    I am not quite sure what exactly you mean by "disable a RadSlidingPane" - do you mean that you want it to be invisible (as you have tried setting its Visible property to false) or to forbid its expansion or something else? In case you want to hide the tab I suggest to use the RadSlidingPane's client-side hideTab method which is listed here. In case this is not what you want to achieve, please provide a more detailed explanation of what you mean by "disable" and what is the exact desired behavior.

    Kind regards,
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. DevCraft R3 2016 release webinar banner
  4. Nataraj Vedula
    Nataraj Vedula avatar
    21 posts
    Member since:
    Aug 2008

    Posted 19 Nov 2008 Link to this post

    Hi Fred,

    I think this will help you.


    function DisableRadSlidingPane(sender, args)








    function EnableRadSlidingPane(sender, args)






    In .cs file



    .SlidingPane1.OnClientBeforeExpand = "DisableRadSlidingPane";





    .OnClientBeforeExpand = "EnableRadSlidingPane";






  5. Fred
    Fred avatar
    86 posts
    Member since:
    Sep 2008

    Posted 24 Nov 2008 Link to this post

    Thank you very much! I think this will work.
Back to Top