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

Hi, when I am trying to access some of the pages created by Syncfusion I get a TargetInvocation Exception. 

I used the Essential UI Kit for xamarin forms dialog when right-clicking on the .csproj file. Screenshot_667.png

Then I went to the AppShell.xaml and changed the data template for one of the navigation items. Intellisense normally recognized the new page, so I thought I will be fine:

Screenshot_668.png  I also added the router route, but nothing changed. After running this, I get the exception. Is there something else I need to do to initialize the page or something? Thank you


3 Replies

FZ Filip Zeman June 26, 2021 07:49 PM UTC

My Appshell.xaml and Appshell.xaml.cs: https://pastebin.com/nFXYJRCq And my ChatConversationPage.xaml and *.cs: https://pastebin.com/KsayX8tw



KK Karthikraja Kalaimani Syncfusion Team June 28, 2021 01:16 PM UTC

Hi Flipp,

Currently, We are validating your requirement. We will validate and update the further details on or before 30th June 2021. We appreciate your patience until then. 

Regards,
Karthik Raja



KK Karthikraja Kalaimani Syncfusion Team June 30, 2021 02:35 PM UTC

Hi Flipp, 

We have checked your code snippets and we discovered that you have not SfChat in ChatConversationPage. However, we have checked with essential UI kit for Xamarin v19.2.0.44 and the SfChat control is loading perfectly from the created sample. We have attached the tested sample for your reference. 

Sample link :  https://www.syncfusion.com/downloads/support/directtrac/general/ze/SyncfusionXamarinApp11078221382


Regards,
Karthik Raja 


Loader.
Up arrow icon