This is a migrated thread and some comments may be shown as answers.

Error when navigating from a GridViewComboBoxColumn

3 Answers 66 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Lakshmi
Top achievements
Rank 1
Lakshmi asked on 21 Aug 2009, 06:57 PM

Hi ,

I have a GridView with the following kind of columns :

GridViewComboBoxColumn
GridViewDataColumn ( ReadOnly)
GridViewDataColumn ( Editable)

When I navigate away from a GridViewComboBoxColumn in edit mode to any other Editable column(in a different row)  which is not of type GridViewComboBoxColumn, I get the following error 

Unhandled Error in silverlight Application
Code :4004
Category:ManagedRuntimeError
Message:system.NullReferenceException
at
Telerik.Windows.Controls.GridView.GridViewCell.ResumeCurrentState()
Telerik.Windows.Controls.GridView.GridViewCell.OnCellLoaded
Telerik.Windows.Controls.GridView.GridViewCellBase.GridViewCellBase_Loaded

Any help in this regard is appreciated.

Best
Lakshmi

3 Answers, 1 is accepted

Sort by
0
Pavel Pavlov
Telerik team
answered on 25 Aug 2009, 02:34 PM
Hi Lakshmi,

I have tried to reproduce the error here  but with no success so far. I have prepared a small test application ( please see the attachment) . But it seems to not reproduce the problem . Can you please help me find what am I  missing .  Please try to reproduce the error with the attached application and let me know about the results.

Regards,
Pavel Pavlov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Lakshmi
Top achievements
Rank 1
answered on 27 Aug 2009, 08:22 PM
Hi Pavel ,

I could not reproduce the problem in your example. I am populating the grid with dynamically generated objects ( all the properties are of of type System.RunTime type). The problem that I have described is specific to the case of dynamically generated objects .

Are you aware of any issues related to the above scenario?

Best
Lakshmi
0
Pavel Pavlov
Telerik team
answered on 31 Aug 2009, 09:41 AM
Hello Lakshmi,

I am now aware of issues with the ComboBox column and System.RunTime type.
However I do not exclude the  possibility for a bug present in the ComboBoxColumn logic for member access.

It would be very helpful if you could provide some code illustrating how you create and bind your business objects to the grid and to the cobmbobox column .

In case we find any bug in the RadGridView a fix will be provided  for the very next internal build.

Sincerely yours,
Pavel Pavlov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
General Discussions
Asked by
Lakshmi
Top achievements
Rank 1
Answers by
Pavel Pavlov
Telerik team
Lakshmi
Top achievements
Rank 1
Share this question
or