articles

Home / DeveloperSection / Articles / ASP.Net AJAX Server Control: NumericUpDownExtender

ASP.Net AJAX Server Control: NumericUpDownExtender

Amit Singh 9188 30-Sep-2010

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

ASP.Net AJAX Server Control: NumericUpDownExtender


Updated 07-Sep-2019

Leave Comment

Comments

Liked By