Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Turn off validation for DataGrid EditButton

Status
Not open for further replies.

Billkamm

Programmer
Feb 9, 2006
74
US
I have an EditButton with my datagrid that is on the same page that contains RegularExpressionValidators. However, when I click the Update button after editing a row in the datagrid it gets stopped by the validators. How may I turn off the Update button going up against the validators (which are for other controls that a treated separately from the datagrid during postback)
 
Have a look at ValiationGroups - they allow you to set which "group" a control is validated against.


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
I found 0 relevant results on Google and in ASP.Net for "ValidationGroups". Can you help link me to some information about these?

I'm also Using ASP.Net 1.0
 
That's odd. Typing ASP.NET ValidationGroup into google gave me this as the 5th result:


And even searching the help files, all the results show how to use the method:



____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.
 
It might be because I put an s on the end ValidationGroups instead of ValidationGroup.

Thanks for the help. I did however end up solving this a different way. I converted the EditButton column to a TemplateColumn and then added a button with CasuesValidation=False
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top