Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Datagrid Control > CustomValidator inside Datagrid

Reply
Thread Tools

CustomValidator inside Datagrid

 
 
Trauckos
Guest
Posts: n/a
 
      10-29-2004
How i can validate a CustomValidator inside datagrid

Thanks


 
Reply With Quote
 
 
 
 
Fernando Hunth
Guest
Posts: n/a
 
      12-10-2004
There are problems trying to implement cell by cell validation using the
grid's Validating event architecture. The problem is that the grid is not the
object handling the data. Instead, a TextBox or some other control is the
control managing the changing of the cell contents. One way to implement the
validation at the grid level is to handle the CurrentCellChanged event, and
if the previous cell's value is not proper, then return to that cell. You can
download a sample that implements this process. The sample only handles the
validation from cell to cell movement. If you want to handle the validation
when the user clicks on the forms Close button, then you would have to add a
special event handler for this and do one last validation at this point.

http://www.syncfusion.com/faq/winfor...validation.zip


"Trauckos" wrote:

> How i can validate a CustomValidator inside datagrid
>
> Thanks
>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with customvalidator inside updatepanel Anton ASP .Net 1 09-06-2009 08:42 PM
CustomValidator inside a DetailsView Paulo Costa ASP .Net Web Controls 0 07-03-2008 10:41 AM
CustomValidator inside Datagrid, DataList, DataRepeater ghafranabbas@gmail.com ASP .Net 1 06-11-2008 10:47 PM
CustomValidator inside Repeater is ignored David Thielen ASP .Net Web Controls 2 10-23-2006 07:21 PM
customValidator in DATAGRID Christophe ASP .Net 0 08-11-2003 08:28 AM



Advertisments