GrapeCity Forums

The GrapeCity Message Boards
Welcome to GrapeCity Forums Sign in | Join | Help
in Search

Number Validation in spread

Last post 04-06-2009, 1:19 AM by Albert. 2 replies.
Sort Posts: Previous Next
  •  04-03-2009, 2:12 AM 76441

    Number Validation in spread

    Hi,

    I'm using Farpoint spread in my project. Can anybody tell me how to validate the cells for numbers using Java script. I want the user should not be allowed to enter any special characters in to the spread cell. I have the function for doing that. But i don know where to call the function . I'm using the Javascript for initializing the spread.

     

     

    Thank you

  •  04-03-2009, 3:38 PM 76475 in reply to 76441

    Re: Number Validation in spread

    Hello,

    There is not a way to attach javascript functions to the WebPart. However, we have client validation for number cells already. You can format the column as a Number type and if a user trys to type non numerical data in the cell, we display an error message.


    Scott S.
    Product Manager, Spread ASP.NET
    GrapeCity FarPoint
  •  04-06-2009, 1:19 AM 76491 in reply to 76441

    Re: Number Validation in spread

    Hi fastrack,

    I want to know it's the webpart or the Spread web control used in your project. For the Spread web control, I think you can handle the [onEditStopped] client side event to do the post validation.

    Regards,

    Albert

View as RSS news feed in XML
     FarPoint Forums Home