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

ASP.Net AJAX Server Control: NumericUpDownExtender


AJAX AJAX 
Ratings:
1 Comment(s)
 7041  View(s)
Rate this:

ASP.Net AJAX Server Control: NumericUpDownExtender

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>

 

Step3: Run the project


Thanks

By Sushant Mishra on   2 months ago

Your words increase my knowledge for sure. Thanks


Don't want to miss updates? Please click the below button!

Follow MindStick