We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

GDBG CTRL-UP

Thread ID:

Created:

Updated:

Platform:

Replies:

54524 Jan 10,2007 03:34 PM UTC Jan 10,2007 07:46 PM UTC Windows Forms 1
loading
Tags: GridControl
Simon Kakon
Asked On January 10, 2007 03:34 PM UTC

Hi,
By default the gdbg moves to first row or last row when I press the ctrl-up/down.
How can I disable it ?

Thanks
Simon

Administrator [Syncfusion]
Replied On January 10, 2007 07:46 PM UTC

Hi Simon,

This is an expected behavior, if you dont want this behavior handle the MoveCurrentCellDirection event to do what you needed. Below is the code.

this.gridDataBoundGrid1.MoveCurrentCellDirection += new GridMoveCurrentCellDirectionEventHandler(gridDataBoundGrid1_MoveCurrentCellDirection);
private void gridDataBoundGrid1_MoveCurrentCellDirection(object sender, GridMoveCurrentCellDirectionEventArgs e)
{
if(e.Direction == GridDirectionType.Top || e.Direction == GridDirectionType.Bottom)
e.Handled = true;
}

Regards,
Rajagopal

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;