.NETGURU
selective validation on the page
Messages   Related Types
This message was discovered on ASPFriends.com 'aspng-validators' list.


manoj n bajpai
Anyone,
I've got a datagrid with a "Edit" column on a Webform page. I also have a set of textboxes in the same page which contain validators connected to them. But when i click on the "Update" button on the datagrid while i am editing the contents of the datagrid, validation is being performed. I want the update to be done without the validation on the page being performed. Is there anyway i can do this?
IF i have to turn off client side and server side validation how do i actually do that?

Thanks,
-Srini

__________________________________________________________
Outgrown your current e-mail service? Get a 25MB Inbox, POP3 Access,
No Ads and No Taglines with LYCOS MAIL PLUS.
http://login.mail.lycos.com/brandPage.shtml?pageId=plus

Reply to this message...
 
    
Neel Kaur

Every Control has a property CauseValidation , set it to false if you do
not want to validate on Update Button , Just set the Causes validation
property of it to false
The CauseValidation attribute will keep the page from being validated.

Neel

-----Original Message-----
From: manoj n bajpai [mailto:Click here to reveal e-mail address]
Sent: Tuesday, August 13, 2002 7:46 PM
To: aspng-validators
Subject: [aspng-validators] selective validation on the page

Anyone,
I've got a datagrid with a "Edit" column on a Webform page. I also have a
set of textboxes in the same page which contain validators connected to
them. But when i click on the "Update" button on the datagrid while i am
editing the contents of the datagrid, validation is being performed. I want
the update to be done without the validation on the page being performed. Is
there anyway i can do this?
IF i have to turn off client side and server side validation how do i
actually do that?

Thanks,
-Srini

__________________________________________________________
Outgrown your current e-mail service? Get a 25MB Inbox, POP3 Access,
No Ads and No Taglines with LYCOS MAIL PLUS.
http://login.mail.lycos.com/brandPage.shtml?pageId=plus

| [aspng-validators] member Click here to reveal e-mail address = YOUR ID
| http://www.aspfriends.com/aspfriends/aspng-validators.asp = JOIN/QUIT

Reply to this message...
 
    
anup bisht
Hi,
I have some textbox and datagrid on the page. Textbox are validated by required field validator or by others. In datagrid i am using editcommandbutton so i can edit the data. First time the data in datagrid is updated successfully but next time it will conflict with the validators of the outside text boxs. I want to update data in datagrid while other textboxes placed outside on the page are empty.
I also set the causesvalidation property of the button false, but there is no effect.

Thanx & Regards
--------------------------------
From: anup bisht
Reply to this message...
 
 




ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
Ad


Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification