SfTabview with 3 or more tabs leading to unhandled exception on UWP

Hello,

in my application Im using SfTabView with 3 tabs. On Android and IOS it works fine, but on UWP, when i tap "About" (second time) from navigaton drawer, problem appears. 

My AboutPage with 3 tabs: 
<?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:d="http://xamarin.com/schemas/2014/forms/design"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:tabView="clr-namespace:Syncfusion.XForms.TabView;assembly=Syncfusion.SfTabView.XForms"
             mc:Ignorable="d"
             x:Class="tst.Views.AboutPage"
             xmlns:vm="clr-namespace:tst.ViewModels"
             Title="{Binding Title}">
    
    <ContentPage.BindingContext>
        <vm:AboutViewModel />
    </ContentPage.BindingContext>
    <ContentPage.Content>
        <tabView:SfTabView BackgroundColor="Aqua">
            <tabView:SfTabItem Title="Call">
                <tabView:SfTabItem.Content>
                    <Grid BackgroundColor="Red" x:Name="AllContactsGrid" />
                </tabView:SfTabItem.Content>
            </tabView:SfTabItem>
            <tabView:SfTabItem Title="Favorites">
                <tabView:SfTabItem.Content>
                    <Grid BackgroundColor="Green" x:Name="FavoritesGrid" />
                </tabView:SfTabItem.Content>
            </tabView:SfTabItem>
            <tabView:SfTabItem Title="Contacts">
                <tabView:SfTabItem.Content>
                    <Grid BackgroundColor="Blue" x:Name="ContactsGrid" />
                </tabView:SfTabItem.Content>
            </tabView:SfTabItem>
        </tabView:SfTabView>
    </ContentPage.Content>
</ContentPage>


To reprodut issue I: 
1. launch app
2. click to "About"
3. Click to "Browse"
4. Click to "About" (problem appears) 



When I remove one tab from AboutPage.xaml, then everithing works fine. 

Thank you in advance
Peter 

3 Replies

SP Sakthivel Palaniyappan Syncfusion Team May 11, 2020 05:03 PM UTC

Hi Peter,

We have checked the reported issue and we could not reproduce the issue at our and. Please download the sample from below.

Sample:
 
https://www.syncfusion.com/downloads/support/directtrac/general/ze/NavigationDrawer-564333745.zip

Since we are not aware of your exact application scenario, please modify the sample with reported issue and revert us and update Syncfusion NuGet and Xamarin NuGet version. It will help us to provide better solution at the earliest.

Regards,
Sakthivel P.
 



PE Peter May 15, 2020 10:09 PM UTC

Hi Sakthivel,
when I click on "Browse" in your UWP app, navigation drawer disappears so I'm unable to test problematic scenario (problem was when navigating back and forth in navigation drawer).

Thanks 
Peter


MS Mugundhan Saravanan Syncfusion Team May 18, 2020 11:45 AM UTC

Hi Peter,

Query: “SfTabview with 3 or more tabs leading to unhandled exception on UWP”

We have modified the sample by navigating another page and back to navigation drawer page and it is working as expected. Please have the modified sample from the following link

Sample: https://www.syncfusion.com/downloads/support/forum/154112/ze/NavigationDrawer950004281  

Could you please update our SfTabView and SfNavigationDrawer controls into latest version as 18.1.0.52 and If you are still facing the same problem means could you please revert us sample based on the issue or provide additional information about issue .This will be helpful for us to investigate further and provide you a better solution at the earliest.

Regards,
Mugundhan S 


Loader.
Up arrow icon