Error when navigating from a GridViewComboBoxColumn

4 posts, 0 answers
  1. Lakshmi
    Lakshmi avatar
    5 posts
    Member since:
    May 2009

    Posted 21 Aug 2009 Link to this post

    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

  2. Pavel Pavlov
    Admin
    Pavel Pavlov avatar
    2039 posts

    Posted 25 Aug 2009 Link to this post

    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.
  3. Lakshmi
    Lakshmi avatar
    5 posts
    Member since:
    May 2009

    Posted 27 Aug 2009 Link to this post

    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
  4. Pavel Pavlov
    Admin
    Pavel Pavlov avatar
    2039 posts

    Posted 31 Aug 2009 Link to this post

    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.
Back to Top