0

当 MaskedEditExtender 的输入文本没有聚焦时,如果值有效,我想保持掩码字符显示,如果没有输入值,我想删除掩码字符。

谢谢

4

1 回答 1

0

If it's for a text box, you can use the OnClick Event to dynamically generate the MaskedEditExtender, and then the OnTextChanged event to check if there is an input value still. If there is then you keep the control, if not then you remove it.

于 2012-06-09T17:22:52.360 回答