Should validation (did the user enter a real date) occur
server-side or client-side? Why?
Answers were Sorted based on User's Feedback
Answer / ramgopal reddy
Client-side. This reduces an additional request to the
server to validate the users input.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / fusion
Ramgopal is correct upto certain extent.
What if User has his Javascript disabled on browser?
Range Validator could do well there.
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / sulochana singh
Client-side validation because there is no need to request a server side date when you could obtain a date from the client machine.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / surendra singh
It should occur both at client-side and Server side.By using expression validator control with the specified expression ie.. the regular expression provides the facility of only validatating the date specified is in the correct format or not. But for checking the date where it is the real data or not should be done at the server side, by getting the system date ranges and checking the date whether it is in between that range or not.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is a Managed Data?
what is usercontrol how we can use acess the controls that are present in the usercontrol in the aspx page suppose we have 2 text boxes in a user control how u can acess the 2 textboxs in the aspx page
What are early binding and late binding.
what is webservices ? and what is web server ?
For Web services where you can browse on the Internet?
There is a login page that has two text boxes with required field validators on it. The page has a login and cancel button. How can we ensure that the click on the cancel button doesnt fire a validation event.
what are the server controls used in sitepath navigation?
Explain how does asp page work?
What is content place holder?
What is difference between view state and session state?
What is the main difference between a static page and a dynamic page?
Which is better union or union all?
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)