Just wondering, i have a textbox in silverlight 3, when [return] key is pressed in that textbox, a validation function is executed. If validation is not ok, i want the text value to revert to the original text before [return] was hit, more or less a 'reset' function.
Is that doable?
Example (a 'goto' textbox in a photoalbum gallery in order to directly go to entered page. if entered page is out of bounds, i want the value of the textbox to reset to current page).
Thanks,
Oh, of course, i can always memorize the value in a variable and revert back to it, but want to know if there is a more direct way.