How to cancel/close the sidedrawer

2 posts, 1 answers
  1. dash
    dash avatar
    17 posts
    Member since:
    Nov 2016

    Posted 22 Nov 2016 Link to this post

    It seems like once the user opens the sidedrawer, it cannot be cancelled/closed by the user w/o selecting an item.

    Can that be changed.

    So that clicking on any non-list area and/or back button (android) closes the drawer.

    Thanks.

     

  2. Answer
    Nikolay Iliev
    Admin
    Nikolay Iliev avatar
    255 posts

    Posted 22 Nov 2016 Link to this post

    Hello dash man,

    The side drawer should be closing on user interaction with no problems. Can you share with us your code snippets (both XML and code behind files) or a sample project in which you are observing the described behavior? Even in our demonstration application the drawer can be opened and closed on demand.

    You can also  force the closing of side-drawer (which is recommended in cases where you would want to make sure that the side drawer is closed). To achieve this you can use the closeDrawer() and openDraawer() methods.

    Example usage of these methods can be found here. And here is the API reference for these and other methods and properties you can use with RadSideDrawer.

    Regards,
    Nikolay Iliev
    Telerik by Progress
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top