in

C1 Community

ComponentOne Community is a free source for developers and help authors to collaborate and communicate.

Numeric Input In C1TextBox

Last post 04-30-2008 12:44 AM by C1_SamX. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 04-29-2008 7:51 AM

    Numeric Input In C1TextBox

    Hello,

    Is there any property of C1TextBox so that it allows only Numbers OR only alphabets? I know there is a regex options.. but I need to stop the user from entering anything but numbers..so that there is no need to call validation methods.

    Thanks
    Jay 

  • 04-30-2008 12:44 AM In reply to

    Re: Numeric Input In C1TextBox

    You may set DataType to Int32 and FormatType property to StandardNumber.
    I hope this is of help.
    Regards,
    Sam Xavier
    <dotnetcoder123> wrote in message news:204384@10.0.1.98...

    Hello,

    Is there any property of C1TextBox so that it allows only Numbers OR only alphabets? I know there is a regex options.. but I need to stop the user from entering anything but numbers..so that there is no need to call validation methods.

    Thanks
    Jay 



    http://helpcentral.componentone.com/cs/forums/p/75098/204384.aspx#204384

Page 1 of 1 (2 items)
Contact ComponentOne: 1.800.858.2739 ©1987-2008 ComponentOne LLC All Rights Reserved.