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

Error Expanding 3rd-Level ChildTemplateView in 2009Q3Beta

2 Answers 52 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Tom Chien
Top achievements
Rank 1
Tom Chien asked on 20 Oct 2009, 02:04 AM
I just installed Telerik Q3 2009 WinForms BETA (2009.2.9.1016) over 2009Q2 (2009.2.9.729) and I get a error when I try to expand my 3rd-level ChildViewTemplate (MasterGridView being 1st level).  The only RadGridView change mentioned was combined Vertical Scroll Bar for Grids with ChildTemplateView's.

System.InvalidCastException: Unable to cast object of type 'Telerik.WinControls.Primitives.FillPrimitive' to type 'Telerik.WinControls.UI.GridDetailViewCellElement'. 
   at Telerik.WinControls.UI.GridDetailViewCellElement.UpdateTableElement() 
   at Telerik.WinControls.UI.GridDetailViewCellElement.UpdateInfoCore() 
   at Telerik.WinControls.UI.GridCellElement.UpdateInfo() 
   at Telerik.WinControls.UI.GridRowElement.UpdateInfo() 
   at Telerik.WinControls.UI.GridDetailViewRowElement.UpdateInfo() 
   at Telerik.WinControls.UI.GridRowElement.Initialize(GridViewRowInfo rowInfo) 
   at Telerik.WinControls.UI.GridTableBodyElement.UpdateRow(Int32 position, GridViewRowInfo rowInfo) 
   at Telerik.WinControls.UI.GridTableBodyElement.ArrangeOverride(SizeF finalSize) 
   at Telerik.WinControls.RadElement.ArrangeCore(RectangleF finalRect) 
   at Telerik.WinControls.RadElement.Arrange(RectangleF finalRect) 
   at Telerik.WinControls.UI.GridTableElement.ArrangeOverride(SizeF finalSize) 
   at Telerik.WinControls.RadElement.ArrangeCore(RectangleF finalRect) 
   at Telerik.WinControls.RadElement.Arrange(RectangleF finalRect) 
   at Telerik.WinControls.Layouts.ContextLayoutManager.UpdateLayout() 
   at Telerik.WinControls.Layouts.ContextLayoutManager.UpdateLayoutCallback(ILayoutManager manager) 
 


Telerik 2009Q3 Beta (2009.2.9.1016), VS 2005 (v8.0.50727.762 SP.050727-7600), XP SP3 on Core2Duo 2.99GHZ with 3GB.

2 Answers, 1 is accepted

Sort by
0
Jack
Telerik team
answered on 21 Oct 2009, 08:19 AM
Hello Tom Chien,

Thank you for your feedback. We will continue testing RadGridView hierarchy, however I was not able to reproduce the issue. Please send us your project. This will help us to locate the issue and address it.

Thank you for your cooperation in advance.

Greetings,
Jack
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.
0
Tom Chien
Top achievements
Rank 1
answered on 09 Nov 2009, 06:58 PM
Whatever y'all did appears to have fixed this in the final release of Q3 2009 (vs. the beta).  Whew!!!  This would've been a deal-breaker for using Q3 which I really needed for the combined Vertical Scroll Bar.
Tags
GridView
Asked by
Tom Chien
Top achievements
Rank 1
Answers by
Jack
Telerik team
Tom Chien
Top achievements
Rank 1
Share this question
or