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

Nativescript RadSideDrawer - Another sideDrawer (bottom) inside router-outlet

2 Answers 119 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.
Marcos
Top achievements
Rank 1
Marcos asked on 23 Mar 2017, 07:43 PM

Hi,

 

My application uses a main RadSideDrawer on the left that contains a menu inside of the tkDrawerContent and a router-outlet inside of the tkMainContent... and one of the pages (inside tkMainContent) needs other sideDrawer in the bottom.  

I tried include the other RadSideDrawer inside this page, but is not working (showing a white page).

Is it possible this scenario?? How can I do this?

 

Thank you!

 

 Ex:

<RadSideDrawer #drawer [transition]="sideDrawerTransition" selectionBehavior="None">
  <StackLayout tkDrawerContent class="drawer-content">
      <IneaMenu class="drawer-menu" source="drawer"></IneaMenu>
  </StackLayout>
  <StackLayout tkMainContent>
    <router-outlet></router-outlet>    <--- Here i need a page with a RadSideDrawer in the bottom
  </StackLayout>
</RadSideDrawer>

2 Answers, 1 is accepted

Sort by
0
Accepted
Nick Iliev
Telerik team
answered on 27 Mar 2017, 06:25 AM
Hi Marcos,

At this very moment, the RadSideDrawer control is not supporting multiple drawers on the same page.

Depending on the business logic of your application one possible workaround would be to change the position of your side drawer and provide new data for the drawer content that will be loaded at the bottom.Example showing how to control the position of your side drawer programmatically can be found here.

Other possibilities are to create your toolbar at the bottom using NativeScript controls like SegmentedBar.

Regards,
Nikolay Iliev
Telerik by Progress
Did you know that you can open private support tickets which are reviewed and answered within 24h by the same team who built the components? This is available in our UI for NativeScript Pro + Support offering.
0
Marcos
Top achievements
Rank 1
answered on 27 Mar 2017, 11:00 AM
Thank you very much for the quick response.

That way I'll try another alternative ..

Just to note, the application was working normally with two SideDrawers, and stopped working because I needed to update the Telerik UI version, due to the need to use the webpack.


Thank you
Tags
SideDrawer
Asked by
Marcos
Top achievements
Rank 1
Answers by
Nick Iliev
Telerik team
Marcos
Top achievements
Rank 1
Share this question
or