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 Binding issue - that makes WinRT crash

Thread ID:

Created:

Updated:

Platform:

Replies:

119548 Jul 7,2015 03:52 PM Jul 13,2015 12:35 AM WinRT 5
loading
Tags: SfDataGrid
Jean Teneglio
Asked On July 7, 2015 03:52 PM

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

Jai Ganesh S [Syncfusion]
Replied On July 9, 2015 09:51 AM

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

Jean Teneglio
Replied On July 9, 2015 10:47 AM

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

Jai Ganesh S [Syncfusion]
Replied On July 12, 2015 10:15 PM

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


Jean Teneglio
Replied On July 12, 2015 10:45 PM

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

Thanks
Very Helpful

Saranya CJ [Syncfusion]
Replied On July 13, 2015 12:35 AM

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

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.

;