解决 aspx 页面 TextBox 不支持 type="number"
2024-10-11 00:41:07
安装 framework 4 并且打上补丁
Microsoft .NET Framework 4 可靠性更新 1 (KB2533523)
https://www.microsoft.com/zh-cn/download/details.aspx?id=27014
我没有试,但跟据下面的结果来看,安装 4.5应该是可以解决的.
<!-- this HTML tested in each .NET version -->
<asp:TextBox runat="server" type="number" />
Here are the results: <!-- ASP.NET 2.0, 3.0, and 3.5 -->
<input name="ctl01" type="text" type="number" /> <!-- ASP.NET 4.0 and 4.5 -->
<input name="ctl01" type="number" />
最新文章
- 部署JProfiler监控tomcat
- SVN Files 的值“ <; <; <; <; <; <; <; .mine”无效。路径中具有非法字符。
- 关于rank、dense_rank、ROW_NUMBER及OVER(PARTITION BY)、OVER(ORDER BY)的一些用法
- 试用fastJSON
- OpenGL图形管线和坐标变换[转]
- c# 利用反射动态给实体类对象赋值
- Kinetic使用注意点--container
- jsp接收相同复合参数 request.getParameterValues()用法
- Java遍历Map、List、Array
- 单页面应用SPA架构
- ZOJ 3331 Process the Tasks 双塔Dp
- tomcat的自我理解与使用心得
- Android 内存泄漏分析与解决方法
- php随机获取验证码
- level.go
- Spring MVC 注解之controller层
- c#gridcontrol 的一些设置
- Confluence 6 生产环境备份策略
- mysql数据据备份与还原
- String Permutation