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 |
I am using a range validator and want to use dd mm yyyy format for accepting dates. I get a fairly generic "can't do that" type exception when I use this format for setting the minValue or maxValue properties for the range validator. How can I force it to accept my format?
Explain about asp.net caching?
Authentication and Authorization
Explain the concept of event bubbling in ASP.NET?
0 Answers Sans Pareil IT Services,
What are the Types of state management techniques
How tooltip is set through code-behind in ASP.NET?
how to encrypt a connection string in web.config file?
Explain ViewState?
what are the main advantage in .net?
What is the used of "ispostback" property?
What is the difference between mvc and asp.net? : Asp.Net MVC
write six HTTP request method?
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)