This is kind of my first real attempt at making a nice form for a user to enter data.
Required Field Validators won’t do, because either one can be left empty. First of all, the Custom Validators in the ASPX page: Note the empty Error Message in the second validator.
Is there a way to format this field to a $##0.00 type format when the user clicks/tabs out of the field?
I tried using the _Change() and _Lost Focus() but no luck there. Is there a way to format this also when the user clicks/tabs out of the field?
The latter can for example be very useful for bindings in Styles and Control Templates and when you want to bind to some property in a parent element.
The Mode property of the , which is the default for the Text property of the Text Box control, the text you type into the Text Box does not update the source property until the control loses focus which happens when you click away from it. the setter for the bound property of the Data Context to get called, as the user is typing into the Text Box you set the Update Source Trigger property to enumeration.