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.

SfDataGrid inside Element Host

Thread ID:

Created:

Updated:

Platform:

Replies:

123269 Mar 2,2016 05:47 AM Aug 9,2018 11:39 AM WPF 5
loading
Tags: SfDataGrid
Kemal Atli
Asked On March 2, 2016 05:47 AM

I have been developing a VSTO Excel Add-In. I try to use SfDatagrid for data displaying. Since VSTO apps require taskpanes, I have to use element host for my wpf usercontrol (in which SfDatagrid is included) This works when i try with different Syncfusion products like Autocomplete combobox etc. But, when i try SfDataGrid, I got following exception in ctor of the related usercontrol.

System.Windows.Markup.XamlParseException occurred
  HResult=-2146233087
  LineNumber=10
  LinePosition=5
  Message='Belirtilen bağlama kısıtlamalarıyla eşleşen 'Syncfusion.UI.Xaml.Grid.SfDataGrid' türündeki oluşturucuyu çağırma işlemi özel durum döndürdü.' Satır numarası '10' ve satır konumu '5'.
  Source=PresentationFramework
  StackTrace:
       konum: System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
  InnerException: 
       HResult=-2146233036
       Message='Syncfusion.UI.Xaml.Grid.SfDataGrid' tür başlatıcısı özel durum döndürdü.
       Source=Syncfusion.SfGrid.WPF
       TypeName=Syncfusion.UI.Xaml.Grid.SfDataGrid
       StackTrace:
            konum: Syncfusion.UI.Xaml.Grid.SfDataGrid..ctor()
       InnerException: 
            HResult=-2147467261
            Message=Object reference not set to an instance of an object
            Source=Syncfusion.SfGrid.WPF
            StackTrace:
                 konum: Syncfusion.UI.Xaml.Grid.SR..ctor()
                 konum: Syncfusion.UI.Xaml.Grid.SR.GetLoader()
                 konum: Syncfusion.UI.Xaml.Grid.SR.GetString(CultureInfo culture, String name)
                 konum: Syncfusion.UI.Xaml.Grid.GridResourceWrapper.get_GroupDropAreaText()
                 konum: Syncfusion.UI.Xaml.Grid.SfDataGrid..cctor()



Sivakumar R [Syncfusion]
Replied On March 3, 2016 02:18 AM

Hi Kemal,

We had similar issue in our 13.2 version and it was fixed in 13.3 release version. Can you please let us know the essential studio version you are using? That will help us to analyze this issue further.

If you are using 13.2 version of essential studio, then upgrade to our latest version (13.4.0.58) to get the issue fixed.

If you are using latest version of essential studio, then can you add the default resource files of SfDataGrid into your project and check if this solves the problem.

http://help.syncfusion.com/wpf/sfdatagrid/localization#editing-default-culture-resource


Regards,
Sivakumar


Kemal Atli
Replied On March 11, 2016 08:29 AM

Hi Kemal,

We had similar issue in our 13.2 version and it was fixed in 13.3 release version. Can you please let us know the essential studio version you are using? That will help us to analyze this issue further.

If you are using 13.2 version of essential studio, then upgrade to our latest version (13.4.0.58) to get the issue fixed.

If you are using latest version of essential studio, then can you add the default resource files of SfDataGrid into your project and check if this solves the problem.

http://help.syncfusion.com/wpf/sfdatagrid/localization#editing-default-culture-resource


Regards,
Sivakumar


I am really sorry for the late feedback. After installing latest version of Essential Studio and refering to latest dlls, my problem has been solved. Thank you for your quick response Sivakumar it is working perfectly right now.

Ashwini Paranthaman [Syncfusion]
Replied On March 14, 2016 12:33 AM

Hi Kemal,
We are glad that your issue has been fixed.
Please let us know if you need any other assistance.
Regards,
Ashwini P.

Bradley Schultz
Replied On August 8, 2018 05:06 PM

Appears this issue is back with 16.2.0.41 and 46. I am using an element host and when I use the 16.2.0.41 or 46 I get an error very similar to below. When I am using 16.1.0.37 all is fine.

b  r  a  d

Deivaselvan Y [Syncfusion]
Replied On August 9, 2018 11:39 AM

Hi Bradly,

You can follow-up the reported exception issue with the incident which you have created for this query in your account to get it solved.

Regards,
Deivaselvan 


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.

;