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.
我的 Telerik NumericTextBox 接受所有值。我怎样才能让它只输入数值
在RadNumericTextBox中,您可以更改三个类型选项
RadNumericTextBox
Currency Number Percent
以下代码对我很有效,
<telerik:RadNumericTextBox ID="ntxtMyNumbers" Type="Number" runat="server" LabelWidth="100px" NumberFormat-DecimalDigits="0" Width="100%" />