Ask a Question related to ASP.NET General, Design and Development.
-
Marco Liedekerken #1
Undo in TextBox
Hi,
If a user enters a wrong value (which depends on some properties of it's
container control) in one of my dynamicly made TextBoxes I want to undo the
change he made to the Text property of the TextBox.
I think some possible ways are:
- Use a Validation control. This will be difficult because I generate
multiple TextBoxes dynamicly and they have different validationrules.
- Do something in the TextChanged handler. This is preferred and simple
but maybe this is impossible.
- Add a property to the TextBox control which remembers the previously
entered value.
- .....
My first question is: how can I do the undo the best way?
My second question is: is there a possibility to retrieve the previous
entered value in the TextChanged handler?
Thanks, Marco
Marco Liedekerken Guest
-
ID CS2: can't undo
Help! We have a file open in indesign that has not been saved in a while, a large amount of work has just been deleted but we cannot 'undo'. Apple-Z... -
Ctrl-Z undo
Is there a way to get a working undo feature in a TextArea? Currently whenever i hit Ctrl-Z it puts in a weird box into the textarea instead of... -
Undo Levels?
It seems there is only one level of "undo" in Director MX 2004 (mac). I've searched the preferences and help files and cannot seem to find any... -
undo the (?i)
Hi all, I have an RE where I use the (?i) somewhere, but I want to undo that effect further on in the RE. Here's an example: ... -
Can't undo Bastille
I've had bastille 2.0.4-2 running for quite some time on an install of unstable I keep uptodate fairly often, so imagine my surprise when I decided...



Reply With Quote

