how to create optional masks like for zipcode
I want to use xxxxx
Or
xxxxx-xxxx
based on the content entered while displaying with focus not on that column & if data entered is only five numbers.
However, display the entire mask when focussed.
thanks for the help
Im interested in this also.
I want to do the same thing for Date Time.
If the user enters just a Date, only display the Date. IF the user enters Date Time display both.
Allen
Hi,
I just also posted this info on Allen's previous post on this subject. Basically one way to accomplish this is to set the editor's ValueToDisplayTextConverter to a custom implementation of IValueConverter that will convert the value to text in the manner you want.
Hope this helps,
Sandip