or
| System.NullReferenceException: Object reference not set to an instance of an object. |
| at Telerik.WinControls.UI.GridTableElement.get_CurrentCell() |
| at Telerik.WinControls.UI.RadGridView.get_CurrentCell() |
| at Telerik.WinControls.UI.RadGridView.BeginEdit() |
| 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.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) |
GridCellElement cell = e.CellElement;
cell.Controls.Add(createChart(series1Val, series2Val));
| public partial class MdiChild : Form |
| { |
| public MdiChild() |
| { |
| InitializeComponent(); |
| } |
| int counter = 0; |
| protected override void OnActivated(EventArgs e) |
| { |
| label1.Text = string.Format("Activated {0}", ++counter); |
| } |
| } |
Good morning.
I have problems with radDock layout and serialization. My problems are also visible in the application examples provided with radControls. I use Visual Studio 2008 Express Edition on a Windows XP OS. RadControls version is RadControls for WinForms Q2 2009 SP1.
The same behaviour I obtain in my applications.
Thank you.
| GridViewSelectedRowsCollection RowCollection = new GridViewSelectedRowsCollection(); |
| RowCollection.Add(RadGrid1.CurrentRow); |