or
Hi Guys,
How do I programmatically select the highlighted item?
We have implemented buttons on our grid. Please refer to http://www.telerik.com/community/forums/winforms/gridview/radmenuitem-in-radgridview-events.aspx for the code.
Currently the user must select the row before they can click the button. We have added code to the mouseover the change the radgrid icon and button color.
void lblLabel_MouseEnter(object sender, EventArgs e) |
{ |
this.gvManageDocs.Cursor = Cursors.Hand; |
((RadLabelElement)sender).ForeColor = Color.Red; |
} |
What I would like to do is when the user hovers over a button to auto select the row so they only have to click once to activate the button.
How do I do that?
~Mike
Object reference not set to an instance of an object. |
System.NullReferenceException: Object reference not set to an instance of an object |
at |
Telerik.WinControls.UI.BaseGridBehavior.OnMOuseDownRight(MouseEventArgs e) |
at |
Telerik.WinControls.UI.BaseGridBehavior.OnMOuseDown(MouseEventArgs e) |
at |
Telerik.WinControls.UI.RadGridView.OnMOuseDownRight(MouseEventArgs e) |
at |
System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clickt) |
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) |