Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic How to implement Undo feature in ImageMap mode? (Read 1168 times)
geanyee
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 9
Joined: Feb 12th, 2010
How to implement Undo feature in ImageMap mode?
Feb 21st, 2010 at 8:39am
Print Post  
The ClientSideMode is "ImageMap", and placed the diagram in a updatepanel control, sure the UndoEnabled property is set to "true".
Here are two buttons, one is create a createCmd and add history to UndoManager, another is a undo button, it invokes undomanager.Undo method, but there is nothing to happen, and the command length of history equals to zero. I don't know what's the problem.

btw, i researched this problem is BBS, and find this post:
http://mindfusion.eu/Forum/YaBB.pl?board=netdg_disc;action=display;num=122347087...

but that problem is Javaapplet not ImageMap, so please tell me how to solve my problem. thanks in advance.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: How to implement Undo feature in ImageMap mode
Reply #1 - Feb 22nd, 2010 at 9:29am
Print Post  
I'm afraid undo/redo is supported only in JavaApplet mode (also in Silvelright mode in the upcoming version 3.1). The server side API has UndoManager and carries out a lot of operations through the Command classes, however the commands are not saved in the viewstate and are lost between postbacks. I guess we can make the commands serializable and save the undo/redo history too for the next release after V3.1.

Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint