Version

Using Display Factor in WebPercentEditor

WebPercentEditor™ allows you to set a factor that multiplies the value in the control and displays it as the actual text in the editor. For example, if the display factor is 100 and the end user enters 80 (reflected by the Text property) in the editor, then the control’s Value property will be 0.8. You can set the display factor by simply setting the control’s DisplayFactor property. By default, this property is set to 100.

In Visual Basic:

WebPercentEditor1.DisplayFactor = 10

In C#:

WebPercentEditor1.DisplayFactor = 10;