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

sfDataGrid Binding issue - that makes WinRT crash

Included is a sample application that failed when you navigate to the second screen, the first one is without the binding that failed, the second fails (we are guessing) because of that binding.

Attachment: SyncfusionBindingError_2e07e924.zip

5 Replies

JG Jai Ganesh S Syncfusion Team July 9, 2015 01:51 PM UTC

Hi Jean,

Thank you for contacting Syncfusion Support.

We have analyzed your query with your sample application. In that you have declared the style for TextBlock in first page and you have tried to use that style in both the pages as a static. Hence the exception occurred, since it is defined in MainPage.xaml alone. However you can declare the Style Globally in App.xaml and it can be accessible in all pages. We have modified the sample based on this and please find the sample under the following location,

Sample: http://www.syncfusion.com/downloads/support/directtrac/141092/ze/SyncfusionBindingError-1113224283

Please let us know if you need further assistance.

Thank you,
Jai Ganesh S


JT Jean Teneglio July 9, 2015 02:47 PM UTC

Try this one, we recieve a binding error when you go to the second page and then Click on Reload List button

Attachment: SyncfusionBindingError_1c36681c.zip


JG Jai Ganesh S Syncfusion Team July 13, 2015 02:15 AM UTC

Hi Jean,


Thank you for the update.


We have analyzed your query with your sample application. In that you have used TemplateColumn without MappingName in SecondPage.xaml. Hence the binding exception occurred when reload the page. In SfDataGrid we must give a MappingName when creating the column. We have modified the sample by setting a MappingName in TemplateColumn and please find the sample under the following location.


Sample: http://www.syncfusion.com/downloads/support/directtrac/141139/ze/SyncfusionBindingError1383700989


Please let us know if you need further assistance.


Thank you,

Jai Ganesh S



JT Jean Teneglio July 13, 2015 02:45 AM UTC

That's seem to have fixed it, not very obvious tough

Thanks
Very Helpful


SC Saranya CJ Syncfusion Team July 13, 2015 04:35 AM UTC

Hi Jean,
Thank you for your update. We are glad to know that your reported issue has been fixed. Please let us know if you require any other assistance.
Regards,
Saranya

Loader.
Up arrow icon