How do you validate the controls in an ASP .NET page?
Answers were Sorted based on User's Feedback
Answer / guest
by setting the control to validate property in validator to
that controler
| Is This Answer Correct ? | 6 Yes | 1 No |
Answer / sneha gupta
we can validate controls either server side or client side.
for client side vaildaions we can your either javascript or
validation controls provided in .NET.
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / raj
We can validate the controls in an ASP.NET page using
validation controls. There are six types of validation
controls in asp.net. They are :
RequiredFieldValidator,
RangeValidator,
CompareValidator,
RegularExpressionValidator,
CustomValidator and
Validation Summary
| Is This Answer Correct ? | 2 Yes | 1 No |
What is ispostback method in asp.net?
Give me one example of Web API Routing?
What are Http handler ?
6 Answers Accenture, BirlaSoft, Satyam, Syntel,
what is aspcompat? what it does?
How does exception management works in ASP.NET?
what is SQL cache Invalidation?
How do you validate the controls in an ASP .NET page?
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?.
Types of instancing properties and explain each. Tell the difference between multiuse,singleuse and globalmultiuse and which is default ?
What does the following SQL statement return, assuming that all tables and column names are correct? SELECT FirstName, StreetAddress FROM Employees JOIN AddressBook ON Employees.EmpID = AddressBook.EmpID a) Nothing, the JOIN syntax is wrong. b) All the records form the Employees table, and only the matching ones form the StreetAddress table. c) All the records from the StreetAddress table and only the matching records form the Employees table. d) Only the matching records from the two tables.
What is the difference between custom controls and user controls?
What is a viewstate?
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)