This question is locked. New answers and comments are not allowed.
Hi Telerik,
I have an editable radgridview with a hierarchical radgridview attached to each item. Each row (mother and child grid) has rowdetails.
Both grids are editable. When I'm editing a line on the mother grid and details are expanded for the current editing row and one row in the child table, and I make mygrid.CommitRowEdit(_currentEditingRow) a Unhandled exception is raised.
From Visual Studio I cannot see the entire stack trace.
From IE I receive:
Telerik.Window.Controls.GridView.GridViewVirtualizinPanel.IsInViewPort (DependencyObject element)
Telerik.Window.Controls.GridView.GridViewVirtualizingPanel.ProcessBringIntoViewElement()
Telerik.Window.Controls.GridView.GridViewVirtualizingPanel.ArrangeOverride(Size finalSize)
...
I hope this helps.
Regards
I have an editable radgridview with a hierarchical radgridview attached to each item. Each row (mother and child grid) has rowdetails.
Both grids are editable. When I'm editing a line on the mother grid and details are expanded for the current editing row and one row in the child table, and I make mygrid.CommitRowEdit(_currentEditingRow) a Unhandled exception is raised.
From Visual Studio I cannot see the entire stack trace.
From IE I receive:
Telerik.Window.Controls.GridView.GridViewVirtualizinPanel.IsInViewPort (DependencyObject element)
Telerik.Window.Controls.GridView.GridViewVirtualizingPanel.ProcessBringIntoViewElement()
Telerik.Window.Controls.GridView.GridViewVirtualizingPanel.ArrangeOverride(Size finalSize)
...
I hope this helps.
Regards
5 Answers, 1 is accepted
0
Hello Yolanda,
Unfortunately, we were unable to reproduce the problem locally. Can you give us more details about your scenario or if it possible to send us a sample project (via support ticket) that reproduces the exception ? Thank you.
Kind regards,
Yordanka
the Telerik team
Unfortunately, we were unable to reproduce the problem locally. Can you give us more details about your scenario or if it possible to send us a sample project (via support ticket) that reproduces the exception ? Thank you.
Kind regards,
Yordanka
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
0
Yolanda
Top achievements
Rank 1
answered on 28 Jan 2011, 05:02 PM
Thanks ,
Some useful information.
I've isolated the commit in a try/catch
However, any exception is captured. The exception is raised later
Anyway I'll send you a sample projet in a support ticket
Regards
Yolanda
Some useful information.
I've isolated the commit in a try/catch
try { _currentGridView.CommitRowEdit(_currentRowEdited); } catch(Exception ex) { RadWindow.Alert(new DialogParameters() { Header= "Attention", Content = "Une erreur est survenue, veuillez contacter l'administrateur.\n"+ex.Message }); }However, any exception is captured. The exception is raised later
Anyway I'll send you a sample projet in a support ticket
Regards
Yolanda
0
Yolanda
Top achievements
Rank 1
answered on 03 Feb 2011, 06:19 PM
I've been working hard trying to reproduce the error in another simplier project, I thinks is due to the use of a small amount of data. I'm trying to reproduce it using a big amount of data.
Some more useful information that will help us to find the problem source.
The Null Reference Exception comes from an empty NodeKeyValueCollection of ListDictionaryInternal in the function GridViewVirtualizingPanel ->IsInViewPort
What's the use of this List?
If I understand well, the GridViewVirtualizingPanel initializes a new instance of the GridViewVirtualizingStackPanel class. Is this related with the use of stack panels?
I've seen someone in the forum with almost the same problem
http://www.telerik.com/community/forums/wpf/gridview/gridviewvirtualizingpanel-nullreferenceexception.aspx
Some more useful information that will help us to find the problem source.
The Null Reference Exception comes from an empty NodeKeyValueCollection of ListDictionaryInternal in the function GridViewVirtualizingPanel ->IsInViewPort
What's the use of this List?
If I understand well, the GridViewVirtualizingPanel initializes a new instance of the GridViewVirtualizingStackPanel class. Is this related with the use of stack panels?
I've seen someone in the forum with almost the same problem
http://www.telerik.com/community/forums/wpf/gridview/gridviewvirtualizingpanel-nullreferenceexception.aspx
0
Hello Yolanda,
We will keep on trying to reproduce this and will let you know in case we find out something. Thank you for your understanding.
All the best,
Ross
the Telerik team
We will keep on trying to reproduce this and will let you know in case we find out something. Thank you for your understanding.
All the best,
Ross
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
0
Yolanda
Top achievements
Rank 1
answered on 10 Feb 2011, 09:41 AM
Thanks for your help Telerik Team.
I sent a support ticket (number 391170) with a sample projet showing a bug around this. The bug will be fixed in the next issue, and maybe this will fix also this problem. I'll wait until monday to prepare a sample projet if next issue doesn't improve the result.
Thanks a lot for your work!
Yolanda
I sent a support ticket (number 391170) with a sample projet showing a bug around this. The bug will be fixed in the next issue, and maybe this will fix also this problem. I'll wait until monday to prepare a sample projet if next issue doesn't improve the result.
Thanks a lot for your work!
Yolanda