NumericUpDownExtender: A it controls allows you to put some up / down indicators next to a TextBox control that enable the end user to more easily control a selection. It has main key properties are TargetControlID, Maximum, Minimum, Width.

How we implement the NumericUpDownExtender
  Example:

Step1: we use the following control on aspx page 

 <div>
<%--Using ScriptManager or ToolkitScriptManager according toolkit version--%>
<cc1:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
</cc1:ToolkitScriptManager>
<%-- add the NumericUpDownExtender and textbox--%>
<cc1:NumericUpDownExtender ID="NumericUpDownExtender1" runat="server" TargetControlID="TextBox1" Maximum="10" Minimum="1" Width="150">
</cc1:NumericUpDownExtender>
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
</div>

  Step2: Run the project

  Modified On Nov-16-2017 10:07:30 AM

Leave Comment