CartPage and CheckoutPage throw TargetInvocationException

After adding CartPage and CheckoutPage to my project, I get this error when I attempt to navigate to either of them:

     System.Reflection.TargetInvocationException: 'Exception has been thrown by the target of an invocation.'

The error goes away if I remove this block of code at the top.

     <
ContentPage.ControlTemplate>         <ControlTemplate>             <StackLayout Spacing="0">                 <!--  Title View  -->                 <controls:TitleView Title="Cart" BackgroundColor="{DynamicResource Gray-White}" />                 <ContentPresenter />             </StackLayout>         </ControlTemplate>     </ContentPage.ControlTemplate>

Visual Studio 2019 16.2.5
Syncfusion 17.2.0.51
Xamarin Forms 4.2.0.815419

1 Reply

YP Yuvaraj Palanisamy Syncfusion Team September 20, 2019 10:52 AM UTC

Hi Dean,


Thanks for contacting Support.


We are not able to reproduce your reported issue at our end. Also, we have prepared the Sample with Cart & Checkout page for your reference. Please find the attached sample from the below location.


Sample :
https://www.syncfusion.com/downloads/support/forum/147690/ze/F147690850601095  

Also, you can refer the following link directly to get the Syncfusion Xamarin UI template in your application.


https://help.syncfusion.com/xamarin/uikit/gettingstarted  


If you are still facing any issue, please let us know and we are happy to assist you.


Regards,

Yuvaraj
 


Loader.
Up arrow icon