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

How to cancel/close the sidedrawer

1 Answer 193 Views
SideDrawer
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
dash
Top achievements
Rank 1
dash asked on 22 Nov 2016, 03:08 PM

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.

 

1 Answer, 1 is accepted

Sort by
0
Accepted
Nick Iliev
Telerik team
answered on 22 Nov 2016, 03:47 PM
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
Tags
SideDrawer
Asked by
dash
Top achievements
Rank 1
Answers by
Nick Iliev
Telerik team
Share this question
or