Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何将MaskedEditExtender 用于应该接受网站地址的文本框?谢谢
你为什么要使用MaskedEdit? 我会使用带有RegularExpressionValidator.
MaskedEdit
RegularExpressionValidator
MaskedEdit适用于在整个数据域中具有固定格式的数据。例如,SSID 的格式始终为000-00-0000,电话号码(在美国)为(000) 000-0000,新的邮政编码为00000-0000。等等……
000-00-0000
(000) 000-0000
00000-0000
不适用于各种格式,例如受 RFC 管理的 URL。