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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

CommandStack recording only GridSelectionStateCommand

Thread ID:





31715 Jul 13,2005 08:44 AM UTC Jul 13,2005 11:14 AM UTC WinForms 1
Tags: GridControl
Administrator [Syncfusion]
Asked On July 13, 2005 08:44 AM UTC

Hi, Clay! I''d like to put up a ''Back'' button for my GridControl, so the user can go back to former positions in the grid. For this functionality I need the grid to record only GridSelectionStateCommands. Is it possible?

Administrator [Syncfusion]
Replied On July 13, 2005 11:14 AM UTC

I do not know of a way to only generate undo information on specific commands. You can continually Peek the undo/redo stack before you call Undo/Redo. If the command on top is not a GridSelectionStateCommand, you could Pop the stack, continually until there is a GridSelectionStateCommand on top.


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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

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