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

hierarchical grid issues

4 Answers 215 Views
GridView
This is a migrated thread and some comments may be shown as answers.
runningnet
Top achievements
Rank 1
runningnet asked on 28 Mar 2008, 01:15 AM

I am using the Q1 2008 beta.  I have the following issues while using the grid with hierarchical on.  I have 2 dataviews on the gridViewTemplate2.DataSource = dvPrior; grdPersonal.MasterGridViewTemplate.DataSource = dvPersonal;

Issues:
    1)  If I rebind the grid w/ the parent expanded, the parent disappears and the child records only show.  If I sort it comes back, but if I click the + sign it will sometime crash.  See error

System.NullReferenceException: Object reference not set to an instance of an object. at Telerik.WinControls.UI.GridRowElement.UpdateInfo() at Telerik.WinControls.UI.GridTableElement.Update(GridUINotifyAction action, GridViewRowInfo[] rowInfos) at Telerik.WinControls.UI.RadGridView.set_CurrentView(IGridView value) at Telerik.WinControls.UI.BaseGridBehavior.SetCurrentView(MouseEventArgs e) at Telerik.WinControls.UI.BaseGridBehavior.OnMouseDownLeft(MouseEventArgs e) at Telerik.WinControls.UI.BaseGridBehavior.OnMouseDown(MouseEventArgs e) at Telerik.WinControls.UI.RadGridView.OnMouseDown(MouseEventArgs e) at System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ScrollableControl.WndProc(Message& m) at Telerik.WinControls.RadControl.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg) at

2)  I can't seem to create a relationship between the parent and child with more then 1 column.  If I add 2 members it errors and says that a relationship already exists.  If I add 2 columns in the child and parent the application crashes when I iniialize the control.

3)  Speed of the hierarchical is pretty slow to first load.  I have a 400 record table for child dataview and 20 record table for parent dataview and it takes ~ 20 seconds to load with the relation on 1 column.  In comparison; the parent w/o the hierarchical children loads in 1 sec or less.

4)  It would be nice to NOT show the + sign if there are no children or have that option to turn that feature on or off.  Can this be an option?

5)  There doesn't seem to be a way to control the height of the expanded out rows.  If there is only 1 child row the expanded panel seems to be large.  Will there be a way to autosize to the end of the last row and/or set the default height?

6)  I have a hierarchical grid w/ 2 parent records.  If I expand out the last parent record in the grid and then click the + to collapse it doesn't collapse and the parent disappears.  If I re-sort the 2 parent records so that the orignial expanded record is not the last and expand and collapse the function works perfectly.  Seems to only happen when parent record is the last in the grid.

It would be nice to get weekly or biweekly beta updates so us users could work out some of the bugs before release.

Dave

4 Answers, 1 is accepted

Sort by
0
Julian Benkov
Telerik team
answered on 28 Mar 2008, 10:09 AM
Hi David,

Thank you for the reporting these issues.

We have added the issues you reported to our TODO list for the Q1 2008 release planned for mid-April. We are planning to use the remaining time to add these and other improvements to the product. We are committed to taking the product in the direction most beneficial to you, and we think that putting out a second beta release with all its attendant tasks would shift resources away from development, and thus prevent us from adding as much value as possible to the product. 

I understand your concern and I apologize for the inconvenience this causes you. We will continue to provide ways to address any potential issues in the meantime.

Your Telerik points have been updated.

Sincerely yours,
Julian Benkov
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
kreciol
Top achievements
Rank 1
answered on 11 Jun 2008, 11:22 AM
I am using Q1 2008 and i have similar problem with rebind grid. If I expand out grid after rebind apllication thrown NullReferenceException: Object reference not set to an instance of an object.  at Telerik.WinControls.UI.GridRowElement.UpdateInfo()
   at Telerik.WinControls.UI.GridTableElement.Update(GridUINotifyAction action, GridViewRowInfo[] rowInfos)
   at Telerik.WinControls.UI.RadGridView.set_CurrentView(IGridView value)
   at Telerik.WinControls.UI.BaseGridBehavior.SetCurrentView(MouseEventArgs e)
   at Telerik.WinControls.UI.BaseGridBehavior.OnMouseDownLeft(MouseEventArgs e)
   at Telerik.WinControls.UI.BaseGridBehavior.OnMouseDown(MouseEventArgs e)
   at Telerik.WinControls.UI.RadGridView.OnMouseDown(MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at Telerik.WinControls.RadControl.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.Run(Form mainForm)


0
Julian Benkov
Telerik team
answered on 12 Jun 2008, 12:46 PM
Hi Pawel,

Please download and install the Q1 2008 Service Pack 1 release and try again. If the issue persists, please send us a project which reproduces the issue. It'll help us address any potential issue faster.

I'm looking forward to your response.

Sincerely yours,
Julian Benkov
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
kreciol
Top achievements
Rank 1
answered on 14 Jun 2008, 11:42 AM
It works correctly with Q1 2008 SP1, thank You for an answer.
Tags
GridView
Asked by
runningnet
Top achievements
Rank 1
Answers by
Julian Benkov
Telerik team
kreciol
Top achievements
Rank 1
Share this question
or