大写. [英] Capitalization.
问题描述
我需要将所有textox文本都写成大写字母,每当用户键入小写或大写字母时,都应使用大写字母,
我已经使用过Ajax Extender FilteredText,但是它之间不允许有空格.
还有其他方法吗?
I Need to Make All textox text in Capital Letters, whenever user type in small or capital it should be in capital letters,
I have used Ajax Extender FilteredText, But it Does not allow Spaces in between.
Is there any Other Method?
推荐答案
我使用过Ajax扩展FilteredText,但不允许在两者之间留空格.
I have used Ajax Extender FilteredText, But it Does not allow Spaces in between.
修改ValidChars以包含一个空格.在此处中查看更多信息.
要么,要么使用一些JavaScript.在
Modify ValidChars to include a space. See more here.
Either that, or use some JavaScript. You can capitalize letters in a textbox when a key is pressed or released. You might want to perform the capitalization on other events if they are available, such as when pasting text.
这篇关于大写.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!