What are validator? Name the Validation controls in asp.net?
How do u disable them?
Answers were Sorted based on User's Feedback
Validator means checking inputed data in any field like
textBox or dropdownbox any other which we want to validate
at client side using sever tag.
Following are type of validator control in asp.net.
1. Ranage validator control
2. RequireFieldvalidator control
3. CompareValidator control
4. RegularExpressionValidator control
5. CustomValidator control
6. ValidationSummary control
if we mention in our page but want to disable just use the
property of validator control causevalidation=false.
| Is This Answer Correct ? | 2 Yes | 0 No |
In addition of the above answer, it is interesting to know
the "Turning off Client-side Valiation".
Because validation server contols provide clients with
client-side validations automatically, you might, at times,
want a way to control the behavior.
It is quite possible to turn off the client-side
capabilities of these controls so that they don't
independently send client-side capabilities to the
requestor. U can turn off this functionality.
The first is at the control level. Each of the validation
server controls has a property called EnableClientScript.
This property is set to True by default, but setting it to
False prevents the control from sending out a Javascript
function for validation on the client. Instead, the
validation check is done on the server.
| Is This Answer Correct ? | 2 Yes | 0 No |
Hi, I am working in a small software company in asp.net platform. I need to know how and what are all the task in asp.net will be assigned for the developers in mnc companies. Thanks in advance.
How use Xml data in ASP.net?
Web API uses which library for JSON serialization?
What is reflection and disadvantages of reflection?
What is the difference between dynamic SGA and static SGA?
how to convert from sql2000 numeric to int in asp.net with sqlparameter?
What does ascx stand for?
Can you use Web API with ASP.NET Web Form?
what is the assembly?
can we call webservice in Html form?
1 Answers Bank Of America, BirlaSoft, Microsoft,
Can you set which type of comparison you want to perform by the comparevalidator control?
what is client-server architecture in .net? and what is 3-tier architecture?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)