How to limit the amount of decimals to 1 in textbox?


use the following code :

Answer
=========

<asp:TextBox ID=”TextBox1″ runat=”server” />
<cc1:MaskedEditExtender
ID=”MaskedEditExtender1″
runat=”server”
TargetControlID=”TextBox1″
Mask=”9{9}.99″
MaskType=”Number”
InputDirection=”RightToLeft” />

Advertisements

2 thoughts on “How to limit the amount of decimals to 1 in textbox?

  1. It was rather interesting for me to read the post. Thanks the author for it. I like such topics and anything that is connected to this matter. I would like to read a bit more on that blog soon.

    Sincerely yours

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s