Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
40
NullReference exception when loading data in XamWebGrid
posted

Hi all,

 

I'm using XamWebGrid control in my Silverlight 3 application to load data via RIA Services from Entity Model. The data is loading ok, the control is shown, but:

  • because I have lots of data, it takes some time to populate the grid, so I do it in intervals of 30 records. Howerver, while a part of the data is shown and still populating the rest in background, wherever I click on the grid (cell, header, different page from the pager), I get the "nullreference exception",  code: 4004 (ManagedRuntimeError); Anyhow, if I wait for the whole data to be populated, then everything is fine and working.

        * I have tried the same procedure with standard silverlight grid, and no exception happened there.

  • another thing, when I put the grid inside an <activity> control, I get "System.InvalidOperationException:Cannot resolve TargetName contentPresenter"
  • I have read somewhere that the XamWebGrid.FilteringSettings has a bug in a fashion, so it is crashes on my side too (again NullReference exception); when it will be fixed?

Thanks

 

 

Parents
No Data
Reply Children
No Data