I have an app that has an editable grid (always on edit mode). The grid is on a Silverlight dialog and when I save the changes, the dialog also closes. This works perfectly for the most parts. If I group the grid by a date column and then clear the grouping before saving, the grid crashes to a null reference exception. The stack trace is attached as an image.
I know this is a special case, but do you have any ideas what to try? I've tried to exit edit mode before saving. We have the version 14.1.20141.2138 of the Infragistics controls.
14.1.20141.2138
Hello Anttisimonen,
Thank you for your post.
I have been looking into it. I created a sample application based on your scenario and I could not managed to reproduce the behavior that you have described. If you are not able to reproduce the issue with the attached sample application, would you please modify it with the functionality, that you are using, so it reproduces the issue. This way I would be able to further investigate this for you and provide you with more detailed information on this matter.
Looking forward to hearing from you.
That's what I feared that you cannot get it reproduced. I can try to create a sample that reproduces the problem although it might be hard to do that too.
At the moment, I've been trying to eliminate functionality from my solution to see what causes it to crash. So far, I haven't got any luck. My view has 3 grids, so I'm not 100% sure which grid it is that is crashing. 2 of these grids are displaying the same entities at the same time so it might be either one.
I'll get back to this when I know some more. Thanks already for looking into this.
Thank you for your feedback.
Please let me know if you need any further assistance on the matter.
As I was setting up the sample project, I noticed that I had used a TextColumn for the property. I changed the column type to UnboundColumn and it fixed the problem. I'm not sure what it does differently but as far as I'm concerned the problem is resolved.
Hello,
Thank you for your feedback. I am glad that you resolved your issue and I believe that other community members may benefit from this as well.