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.
Unfortunately, activation email could not send to your email. Please try again.

Problem referencing SyncFusion assemblies for SfDataGrid in UWP

Thread ID:

Created:

Updated:

Platform:

Replies:

124758 Jun 28,2016 04:04 AM Jul 1,2016 02:57 AM UWP 3
loading
Tags: SfDataGrid
Tim Coulter
Asked On June 28, 2016 04:04 AM

Hello,

I am just getting started using the DataGrid in a UWP application and I am experiencing problems referencing the required DLLs.

I read  this tutorial  and followed the instructions under Assembly deployment, adding references to the following 4 assemblies:

Syncfusion.Data.UWP
Syncfusion.SfGrid.UWP
Syncfusion.SfInput.UWP
Syncfusion.SfShared.UWP

With this step complete and a DataGrid control added to a XAML page, the project builds correctly but throws the following exception when the page is rendered:

The text associated with this error code could not be found.

Cannot create instance of type 'Syncfusion.UI.Xaml.Grid.SfDataGrid' [Line: 18 Position: 3]

I am able to get the application to run correctly by replacingthe explicit DLL references with a reference to the SynFusion Controls for UWP XAML extension.

I see that this is also how you reference the SyncFusion controls from within the sample browser application. However, I don't want to do this because it adds 50MB to the size of my app package.

Can you please tell me the correct procedure for referencing just the DLLs that my application needs.

Many thanks, Tim

Srinivasan Vasu [Syncfusion]
Replied On June 29, 2016 11:41 PM

Hi Tim, 
 
Thanks for contacting Syncfusion support. 
 
We have checked your query and in our side the UWP sample is working fine while referring assemblies manually. Could you please check whether the below highlighted line has been included in your XAML file.  
 
XAML: 
 
<Page 
    x:Class="AddNewRowEditing.MainPage" 
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:local="using:AddNewRowEditing" 
    xmlns:syncfusion="using:Syncfusion.UI.Xaml.Grid" 
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    mc:Ignorable="d"> 
 
If still the problem is not resolved in your side, we would set up a web meeting with you to look into it and provide resolution. Would you please let us know of your availability for this? Our team will make every effort to have this scheduled on a date and time according to your convenience. 
 
Regards, 
Srinivasan 
 


Tim Coulter
Replied On June 30, 2016 01:04 AM

Hi Srinivasan,

Many thanks for your response.

Yes, my app includes the XAML namespace declaration that you specified and it is working perfectly when the Syncfusion libraries are referenced via the SynFusion Controls for UWP XAML extension.

I am happy to do a web meeting with you. I am available from 8AM to 8PM CET 7 days per week.

Thank you,
Tim

Elavarasan M [Syncfusion]
Replied On July 1, 2016 02:57 AM

Hi Tim, 
 
Thanks for your reply. 
 
We have created the incident under your account to track the status of this requirement. Please log on to our support website to check for further updates. 
 
Regards,
Elavarasan M 


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.

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.

;