Version

WebNumericEditor Smart Tag

In Visual Studio 2005/2008 (.NET Framework 2.0/3.5), each Ultimate UI for ASP.NET control/component is equipped with a Smart Tag. By selecting the control/component, a Smart Tag anchor appears. When you click this anchor, a pop-up panel appears, providing you with quick and easy access to the most common properties and settings of the control/component.

The WebNumericEditor™ Smart Tag contains the following items:

  • Auto PostBack on Value Change — Allows you to set auto postback options applied to ValueChanged event.

  • Read Only — Allows you to configure whether the end-user can edit the text of the control.

  • Nullable — Provides the ability to support null value and use System.Nullable for the Value property.

  • Data Mode — Allows you to set the type of object to wrap the value in the editor.

  • Spin Buttons — Allows you to set the visibility and location of the spin buttons.

  • Min Decimal Places — Allows you to set the minimum number of decimal places you want to display in the editor once the control loses focus.

  • Max Decimal Places — Allows you to set the maximum number of decimal places you want to display in the editor once the control loses focus. MaxDecimalPlaces of NumericEditorProvider supports values between 0 and 20 only.

The WebNumericEditor Smart Tag contains the following links:

  • About — Clicking this opens the WebNumericEditor product information. It contains information such as Status, Version, Expiration and Product Key.

  • Add Extender — Clicking this will bring up a dialog that shows all of the control extenders that can be used with the WebNumericEditor.

See the table below for a description of the item, as well as the item’s corresponding property in the properties grid.

WebNumericEditor_Smart_Tag_01
Items Description CorrespondingProperty

Auto PostBack On Value Change

Gets/Sets auto postback options applied to the ValueChanged event.

ValueChanged (AutoPostBackFlags)

Read Only

Gets/Sets the ability for the end-user to edit the text of the control.

ReadOnly

Nullable

Gets/Sets the ability to support null value and use System.Nullable for the Value property.

Nullable

Data Mode

Gets/Sets the type of object that is used to wrap the Value property.

DataMode

Spin Buttons

Gets/Sets the visibility and location of spin buttons.

SpinButtonsDisplay (Buttons)

Min Decimal Places

Gets/Sets minimum number of decimal places used for the text when the control loses focus

MinDecimalPlaces

Max Decimal Places

Gets/Sets maximum number of decimal places used for the text when the control loses focus

MaxDecimalPlaces