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. Image for the cookie policy date

Type 'Syncfusion.UI.Xaml.Grid.SfDataGrid' is not defined.

I created new WPF application (Visual Basic .NET), added SfDataGrid using Syncfusion Reference Manager and added very basic XAML:
<Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        Title="MainWindow" Height="350" Width="525">
    <syncfusion:SfDataGrid HorizontalAlignment="Left" VerticalAlignment="Top" AllowFiltering="True" x:Name="SfDataGrid1"/>

When I try to run application, compiler error "Type 'Syncfusion.UI.Xaml.Grid.SfDataGrid' is not defined." occurs. I thought that Reference Manager will add everything that is needed. What should I reference to get it working?

3 Replies

BR Balamurugan Rajaraman Syncfusion Team December 16, 2016 01:35 PM UTC

Hi Ondrej 
We have analyzed your query  Type 'Syncfusion.UI.Xaml.Grid.SfDataGrid' is not defined.”.In our side its working fine. Could you  reinstall your GAC assemblies and then create the new application by adding the reference manger. Let us know still you are facing the same trouble in your side. We have attached the tested sample for your reference. Please find the sample from the below link. 
Sample Link: 

ON Ondrej December 16, 2016 01:55 PM UTC

If I create new application, it works. But there is no way of getting that testing solution to work. I attached it to this message.

Attachment: Tests.Syncfusion_1678a82d.zip

BR Balamurugan Rajaraman Syncfusion Team December 19, 2016 02:09 PM UTC

Hi Ondrej, 

 We have analyzed your query. You can remove the attached DLL in the project and then regain added it through the reference manger to clear the errors. We have modified your sample like that we attached the tested video for your reference. Please find the video from the below link. 



Live Chat Icon For mobile
Up arrow icon