| Author: Dhyanchandh.A.V 30 Aug 2006 | Member Level: Gold | Rating: Points: 2 |
Use a CompareValidator Go the Properties window of the CompareValidator Change the 'Operator 'property to 'DataTypeCheck' Change the 'Type' property to Double. Enter name (of a control to validate) in the ControToValidate Property Enter no values in ControlToCompare Propery .It should be left blank. Similarly ValueToCompare Property must also be left bank. --------------------------------------------------------------------------------------------------- U can also use a RegularExpressionValidator The ValidationExrpression is [\d.]*
|