ASP.NET MaskedEditExtender&安培;文本框:不能输入零,解决方法?解决方案? [英] ASP.NET MaskedEditExtender & TextBox: Cannot enter zero, workarounds? Solutions?
问题描述
我想输入一个0到勾搭成一个MaskedEditExtender一个文本框。我的面具与9999999999999.99设置一个NUMBER(13,2)为我十进制的面具。
I'm trying to enter a 0 into a Textbox hooked into a MaskedEditExtender. My mask is set for a NUMBER(13,2) with 9999999999999.99 as my Decimal mask.
的问题在于,用户必须输入一个数字。该值可以是0,我测试过多次努力尝试在0,并输入从右至左的时候,它不会工作。
The problem is that the user HAS to enter a number. The value can be 0. I've tested multiple times trying to try 0 in, and it won't work when entering RightToLeft.
任何变通办法?解决方案?
Any workarounds? Solutions?
我试过的onblur文本框我的用户内侧,当值=我的面具,但它不是我的文本框更改为0.00元。它不会做任何事情。
I tried to OnBlur the Textbox inside my UserControl when the value = my mask, but it won't change my textbox to 0.00. It doesn't do anything.
推荐答案
这听起来像不支持此操作:的 http://forums.asp.net/t/1087548.aspx
It sounds like this isn't supported: http://forums.asp.net/t/1087548.aspx
这篇关于ASP.NET MaskedEditExtender&安培;文本框:不能输入零,解决方法?解决方案?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!