This is a migrated thread and some comments may be shown as answers.

[Solved] Reset Textboxes (Percent and Currency)

0 Answers 20 Views
NumericTextBox
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Martin
Top achievements
Rank 1
Martin asked on 11 Mar 2011, 03:58 PM
When I didn't have Telerik textboxes on the page, and I reset the form, the values went back to the default (what they were when the page loaded) ... in my  case it was 0 for all the textboxes. 

Now with Telerik NumericTextBoxes - Percent and Currency - when I reset the form, the textboxes have nothing in them.  Is there an easy way to rest these textboxes, or is Javascript my friend? 

P.S.  I want to build it such that if the default value was 100%, the reset would change the value to 100%.  I don't want to hard code anything.  I already have code to, on form load, store all the values in a Javascript object.  I don't like it because "reset" should work.
Tags
NumericTextBox
Asked by
Martin
Top achievements
Rank 1
Share this question
or