Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Datagrid Control > Disable Validation

Reply
Thread Tools

Disable Validation

 
 
Augie
Guest
Posts: n/a
 
      10-01-2003
Is there a way to disable causes validation when the user
clicks the update button in the grid control of the edit
command column?
 
Reply With Quote
 
 
 
 
Michael Tkachev
Guest
Posts: n/a
 
      10-03-2003
protected void myEditCommand(object sender, DataGridCommandEventArgs e)

{

dgdRoles.EditItemIndex = e.Item.ItemIndex;

FillDataGrid();

LinkButton c =
(LinkButton)dgdRoles.Items[e.Item.ItemIndex].Cells[2].Controls[0];

c.CausesValidation = false;

}




--
The Best Regards,
Web Developer
Michael Tkachev


"Augie" <> wrote in message
news:1c6b101c3885b$4f89d3a0$...
> Is there a way to disable causes validation when the user
> clicks the update button in the grid control of the edit
> command column?



 
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
disable validation controls Andy G ASP .Net 2 11-04-2004 03:08 PM
Newbie question: how to programmatically enable and disable client side validation Dave Caton ASP .Net 7 07-15-2004 10:09 AM
Would like to disable validation for entire page Mike Hnatt ASP .Net 2 10-30-2003 03:28 AM
how to enable/disable validation controls in the web user control and main page... buran ASP .Net 2 09-26-2003 06:29 PM
how to group validation controls and enable/disable them buran ASP .Net 0 09-26-2003 12:51 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57