We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

SfNavigationDrawer and SfCalendar problem

Thread ID:

Created:

Updated:

Platform:

Replies:

128554 Jan 28,2017 02:35 PM UTC Jan 31,2017 10:11 AM UTC Xamarin.Forms 3
loading
Tags: SfNavigationDrawer
Alessio Iafrate
Asked On January 28, 2017 02:35 PM UTC

Hi,
i wanna create a simple page with a full page calendar and a navigation drawer on the right in a UWP
i have this simple page

<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             xmlns:xForms="clr-namespace:Syncfusion.SfCalendar.XForms;assembly=Syncfusion.SfCalendar.XForms"
             xmlns:xForms1="clr-namespace:Syncfusion.SfNavigationDrawer.XForms;assembly=Syncfusion.SfNavigationDrawer.XForms"
             x:Class="View.PageCalendar">
 
  <Grid>
  
  
  <xForms:SfCalendar InlineToggled="Calendar_OnInlineToggled" x:Name="calendar" VerticalOptions="FillAndExpand" HorizontalOptions="FillAndExpand" ShowInlineEvents="true"/>
    <xForms1:SfNavigationDrawer x:Name="navigationDrawer" Position="Right" Transition="SlideOnTop" DrawerWidth="300">
      <xForms1:SfNavigationDrawer.DrawerContentView>
        <ListView x:Name="listView" BackgroundColor="White">
          <ListView.ItemTemplate>
            <DataTemplate>
              <ViewCell >
                <StackLayout
                Orientation="Horizontal" Margin="10">

                  <Label Text="{Binding}" VerticalOptions="Center" />
                </StackLayout>
              </ViewCell>
            </DataTemplate>
          </ListView.ItemTemplate>
        </ListView>
      </xForms1:SfNavigationDrawer.DrawerContentView>
    </xForms1:SfNavigationDrawer>
      </Grid>
 
 
</ContentPage>

but  whit this i cannot interact with calendar, no selection, change date ecc, if i remove the navigationdrawer it's all ok.

i have tried to move the navigationdrawer outside the grid but i cannot find how use it for solve the problem.

Thanks in advance

Alex


Pavendhan Kumar [Syncfusion]
Replied On January 30, 2017 12:09 PM UTC

Hi Alesssio, 
Thank you for contacting Syncfusion software. 
Query: Unable to interact with Calendar while it inside NavigationDrawer 

From your give code snippet we have inferred that you are trying to add Calendar and NavigatioDrawer simultaneously in a grid layout. Instead of that add navigation drawer a child to grid and add calendar inside content view of NavigationDrawer. We have prepared a sample for your convenience please download the same from the below available link. 
Please let us know if you have any concenrs 
Regards,
Pavendhan K. 
  
  


Alessio Iafrate
Replied On January 30, 2017 01:29 PM UTC

Thanks, it works very well :D

Vanaja  Annasamy [Syncfusion]
Replied On January 31, 2017 10:11 AM UTC

Hi Alessio,

Thank you for your update. Please let us know if you have any other queries.

Regards,
Vanaja R.A.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;