We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Restricting a textbox in grid to only two decimal places

Thread ID:

Created:

Updated:

Platform:

Replies:

92851 Feb 9,2010 12:14 AM Feb 11,2010 07:22 AM Windows Forms 1
loading
Tags: GridControl
ponsakthi
Asked On February 9, 2010 12:14 AM

Hi ,
I have a textbox inside a gridcontrol. The text box can take float values. I need to restict the textbox to accept only two decimal places. If the user tries to enter more than that ,it should not be reflected on to the text box.

I tried to do this using keypress event, but the keypress event is not getting fired when I press keys in a text box.

Please help me,
Thanks in advance.

Rajadurai C [Syncfusion]
Replied On February 11, 2010 07:22 AM

Hi Ponsakthi,

Thanks for your interest in Syncfusion Products.

It seems, you have submitted similar inquiry in Direct Trac as incident #64509 which was updated with solution. Please followup with that for any further queries regarding this.

Thank you for using Syncfusion Products.

Regards,
Rajadurai

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;