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

Validation for Custom Server Control in EditTemplate

Last post 9/4/2007 8:19 AM by Mehul Harry (Developer Express). 1 replies.
Page 1 of 1 (2 items)
Sort Posts:
Previous Next
  • 9/1/2007 1:33 PM

    Validation for Custom Server Control in EditTemplate

    Hi!

    I have to use my own custom server control (picture selection control - composite control with TextBox and else) in a ASPxGridView. I put it in the EditItemTemplate of a used column. But what do I have to do to enable this column's validation.

    I put code in a RowValidating event as it's described in help. But for the mentioned column I see no sign of error directly, only row error.

    Thanks.

    Alex

  • 9/4/2007 8:19 AM In reply to

    Re: Validation for Custom Server Control in EditTemplate

    Hi Alex,

    You can use validation to create a custom error message for your custom server control. Take a look at the Validation demo

    The error icon and description next to an editor is only available if it's rendered by our ASPxEditors Library.  

    Thanks. 

    Filed under: ,
Page 1 of 1 (2 items)
Copyright © 1998-2008 Developer Express Inc.
ALL RIGHTS RESERVED