in
Forums
Blogs
Files
Devexpress.Com
Client Center
Support Center
DevExpress Channel

ASPxTextBox & Validation

Last post 9/17/2007 3:11 PM by Plato (Developer Express). 1 replies.
Page 1 of 1 (2 items)
Sort Posts:
Previous Next
  • 9/15/2007 11:28 AM

    ASPxTextBox & Validation

    Hi!

    I tried to use ASPxTextBox on my form (no grid this time) as a currency value editor and have a question about validation. There's ValidationSettings property with many subproperties. For my task I wanted to use RegularExpression, so I entered ValidationExpression, set CauseValidation=true and Autopostback=true. But when I run the project and submit the form nothing appears to be working. What am I doing wrong? There must be a reason for the ValidationSettings.ErrorText property along others...

    Thanks.
    Alex

    Filed under: ,
  • 9/17/2007 3:11 PM In reply to

    Re: ASPxTextBox & Validation

    Hi Alex,

    I have adjusted the editor as you explained, and everything works properly here.  My sample project is attached.  Please post your sample project, and we will let you know how to adjust the editor so that the validation works properly.

    Also, please take a look at the Validation demo project available at:

    http://demos.devexpress.com/ASPxGridViewDemos/Editors/Validation.aspx

    Thanks,

    Plato

    Thanks,

    Plato

    Developer Express Support
Page 1 of 1 (2 items)
Copyright © 1998-2008 Developer Express Inc.
ALL RIGHTS RESERVED