Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > How to validate a datagrid (in edit mode)?

Reply
Thread Tools

How to validate a datagrid (in edit mode)?

 
 
Ante Perkovic
Guest
Posts: n/a
 
      06-24-2003
Hi,

I'm trying to validate datagrid, but the problem is that textboxes
exist only when the datagrid is in the edit mode, so validators can't
find their "controlToValidate". I tried to put validators in
<EditItemTemplate> but that didn't work either.

I tried experimenting with setting both "Visible" and "Enabled"
property to true or false during various event handlers but nothing
works (

Anybody with tested solution around? Idea maybe?

Please help,

Ante
 
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
Snapshot restraint - edit, edit, edit Alan Browne Digital Photography 24 05-10-2005 10:15 PM
Snapshot restraint - edit, edit, edit Patrick Digital Photography 0 05-06-2005 10:53 PM
Edit All Function for DataGrid, and Moving the Edit Function in a DataGrid Schultz ASP .Net 3 02-14-2005 04:47 AM
Validate a Datagrid Edit? Don Hans ASP .Net Web Controls 3 12-25-2003 02:47 PM
Use Validation control to validate datagrid edit? Don Hans ASP .Net Web Controls 0 12-25-2003 12:02 AM



Advertisments