开发者

How validate textbox (double,float type)

I need validate textb开发者_开发问答ox. range 0.0-200.0 and work with ',' and with '.' How do this?


Use the NumericUpDown control in the Silverlight toolkit.

   

How validate textbox (double,float type)

Don't try and reinvent the wheel with a textbox; using a control explicitly designed for this purpose is much more user-friendly. It's immediately obvious that they're expected to enter a number, they can easily change the current value using recognizable methods, and you're freed from having to write and test a bunch of custom validation code.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜