ASP.NET AJAX Control Toolkit Demos v20.1.0.0

NumericUpDown Sample
Ajax Control Toolkit
NumericUpDown Demonstration
Enter a numeric value and use the up and down buttons to increment/decrement (min:1 and max:7)
Choose your favorite month
Let the web service pick a random number between 0 and 1000 that is higher/lower than the displayed value
Use the arrow images to increment/decrement the value



[No response provided yet]
NumericUpDown Description
NumericUpDown is an ASP.NET AJAX extender that can be attached to an ASP.NET TextBox control to add the up and down buttons that increment and decrement a value in the TextBox. The increment and decrement actions can be simple +1/-1 arithmetic, cycle through the provided list of values (like months of the year), or call a Web Service to determine the next value. Page authors can also provide custom images to be used instead of the default up/down button graphics.
NumericUpDown Properties
Properties
  • Maximum - The maximum value allowed by the extender
  • Minimum - The minimum value allowed by the extender
  • RefValues - A list of strings separated by semicolons (;) to be used as an enumeration by NumericUpDown
  • ServiceDownMethod - A Web service method that returns data used to get the previous value or the name of a method declared on the page which is decorated with the WebMethodAttribute
  • ServiceDownPath - A path to a web service that returns data used to get the previous value
  • ServiceUpMethod - A Web service method that returns data used to get the next value or the name of a method declared on the page that is decorated with the WebMethodAttribute
  • ServiceUpPath - A path to a web service that returns data used to get the next value
  • Step - A step used for simple numeric incrementing and decrementing. The default value is 1
  • Tag - A custom parameter to pass to the Web Service
  • TargetButtonDownID - A reference to a custom Down button
  • TargetButtonUpID - A reference to a custom Up button
  • Width - Combined size of the TextBox and Up/Down buttons. The minimum value 25
NumericUpDown Known Issues

The display of the default up/down buttons in Safari is such that Safari's "shiny" button style makes the up/down arrows difficult to see. Custom images can be used for complete control over the appearance.

Copyright © 2012-2024 CodePlex Foundation. All Rights Reserved.