RadTreeListView NullReferenceException Issue

5 posts, 1 answers
  1. Ivan Zlatanov
    Ivan Zlatanov avatar
    20 posts
    Member since:
    Jul 2009

    Posted 18 Nov 2011 Link to this post

    Hi Guys,

    I don't know whether this is GridView or RadTreeListView bug, but when you double click too fast to expand/collapse any row, you get null reference exception. The exception is thrown in GridViewRow.cs line 571: this.GridViewDataControl.RaiseRowActivated(this,this); where GridViewDataControl is being null.

    Also I have the same problem when doing another thing. I subscribe for the row or cell (doesn't matter) double click event and in that event I try to change the IsExpanded property to it's opposite value. When I try to do that, I get the same NullReferenceException regarding the GridViewDataControl property.

    I notice that you sometimes check for null value when accessing this property and sometimes you don't. Please advise. I would really want to be able to expand/collapse the row on double click event, but at this time I can't because of this internal exception.

    I can provide you with sample code if you like, but I think the issues are very easy to spot.

    Kind Regards,

    Ivan.
  2. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 18 Nov 2011 Link to this post

    Hello Ivan,

     Can you post more info about your version? Is it our just released Q3 2011?

    Greetings,
    Vlad
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. UI for WPF is Visual Studio 2017 Ready
  4. Ivan Zlatanov
    Ivan Zlatanov avatar
    20 posts
    Member since:
    Jul 2009

    Posted 18 Nov 2011 Link to this post

    Hi,

    Sorry, I forgot to mention that. Yes, it's the new release of the Q3. Just downloaded yesterday I think.

    Kind Regards,

    Ivan.
  5. Answer
    Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 18 Nov 2011 Link to this post

    Hi Ivan,

     We believe that we've found the problem and the issue was fixed immediately! The fix will be part of our next internal build (Monday). I've added 2000 Telerik points to your account.

    Kind regards,
    Vlad
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  6. Ivan Zlatanov
    Ivan Zlatanov avatar
    20 posts
    Member since:
    Jul 2009

    Posted 18 Nov 2011 Link to this post

    Thanks. Keep up the great work you're going!
Back to Top
UI for WPF is Visual Studio 2017 Ready