开发者

Masking Textbox without affecting Model value in ASP.NET MVC

开发者 https://www.devze.com 2023-01-07 17:45 出处:网络
I need to mask the input box/text box in ASP.NET MVC 2 for Credit Card. But the masking shouldn\'t affect its bind开发者_StackOverflow社区ing to its model.

I need to mask the input box/text box in ASP.NET MVC 2 for Credit Card. But the masking shouldn't affect its bind开发者_StackOverflow社区ing to its model.

I am trying to do something like this: [DataType(DataType.MaskedCreditCard)] similar to: [DataType(DataType.Password)]

0

精彩评论

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