Restricting a textbox in grid to only two decimal places

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.

1 Reply

RC Rajadurai C Syncfusion Team February 11, 2010 12:22 PM UTC

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

Loader.
Up arrow icon