Re: Howto remove undo functionality?

Re: Howto remove undo functionality?

Old forum URL: forums.lhotka.net/forums/t/2904.aspx


ozitraveller posted on Friday, May 18, 2007

Hi

Just wondering how do I remove all of the unfunctionality?

I don't need the undo functionality I'm building a web app.

Thanks

Brian Criswell replied on Friday, May 18, 2007

The nice bit about the undo functionality (and validation and authorisation) is that if you do not use it (i.e. in a web app), it does not affect you.  Just ignore it and build your web app.

ozitraveller replied on Friday, May 18, 2007

Isn't undo available by default?

Brian Criswell replied on Saturday, May 19, 2007

Yes, but like many aspects of CSLA, if you do not use it, it will not impact you.  Since you are writing a web application, just do not call BeginEdit ApplyEdit or CancelEdit.  Removing the undo functionality will bring you no benefit and will do nothing except make work for yourself.

Copyright (c) Marimer LLC