In ajaxtoolkit filtered textbox extender it is not allowing spaces in between characters
在ajaxtoolkit过滤的文本框扩展器中,它不允许在字符之间使用空格
Please give me solution what to put in filterType and validchars
请给我解决在filterType和validchars中放入什么的解决方案
Code
码
<ajaxToolkit:FilteredTextBoxExtender ID="FilteredTextBoxExtender2" runat="server"
FilterType="LowercaseLetters, UppercaseLetters" ValidChars=" "
TargetControlID="txtFirstName" />
1 个解决方案
#1
2
<ajaxToolkit:FilteredTextBoxExtender
ID="FilteredTextBoxExtender2"
runat="server"
FilterType="LowercaseLetters, UppercaseLetters,Custom"
ValidChars=" "
TargetControlID="txtFirstName" />
Put "Custom" in Filter Type ,then its working fine
将“Custom”放在Filter Type中,然后它的工作正常
#1
2
<ajaxToolkit:FilteredTextBoxExtender
ID="FilteredTextBoxExtender2"
runat="server"
FilterType="LowercaseLetters, UppercaseLetters,Custom"
ValidChars=" "
TargetControlID="txtFirstName" />
Put "Custom" in Filter Type ,then its working fine
将“Custom”放在Filter Type中,然后它的工作正常