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 |
What is the result when the Web Form containing the following line is complied and executed? <asp:Button id=?thebutton? onClick=?theEvent? /> a) The button control is created; theEvent is the click event handler. b) Compiler error; the control must be set to runat=?server?. c) Compiler error; onClick is not a valid attribute. d) Runtime Exception; the control must be set to runat=?server?.
Whats the difference between registerclientscriptblock, registerclientscriptinclude and registerclientscriptresource?
17. If I?m developing an application that must accommodate multiple security levels though secure login and my ASP.NET web application is spanned across three web-servers (using round-robin load balancing) what would be the best approach to maintain login-in state for the users?
Explain about asp.net caching?
When is the ViewState available during the page processing cycle ?
How tooltip is set through code-behind in ASP.NET?
What is a 1x1 pixel?
when user is logged on the information is saved in a cookie, what is the name of that cookie?
What is the difference between mvc (model-view-controller) and mvp (model-view-presenter)? : asp.net mvc
Explain the use of resource manager class in .net.
What is the difference between session and viewstate?
What is http only cookie?
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)