Rank: Member Groups: Member
Joined: 9/6/2011 Posts: 26
|
I have a masket edit control that shows the data correctly, but after processing I want to clear the page (and the masketedit) but I can't use mskDate1.text = "", or mskDate1.mask ="". How do I clear the content on a masketedit leaving it as it showed on the first page load?
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
Hi,
Setting Text should work for most simple masks. However for complicated masks that includes multiple segments, you will have to set it literally as how it appears in an empty masked edit. For example, if you have multiple segment phone number mask such as "(___)-___-____", then you have to set text to "( )- - " to clear it.
Thanks!
|