How do you do validations. Whether client-side or
server-side validations are better.?
Answer Posted / anjani mittal
ASP.net has some validation controls which r used for validation of entry in the textboxes,dropdown & other controls etc.
These Validation Controls r:-
1> Required field validator.
2> Regular Expression field validator.
3> Range Validator.
4> Compare validator.
5> Custom field validator.
6> Validation field summary(used to display error messages).
Client side validation is better than that of server side validation b'coz it reduces the load on server by using client side validation & by doing this server performance increases & there responsivess is efficient....
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is the use of HttpHandlers? When to use this?
Less than one page, how many windows will you be able to maintain?
Explain the difference between asp & asp.net.
Why is global asax is used for?
What is the concept of view state in asp.net?
Why asp.net is better than php?
What is the significance of ASP.NET routing?
a web application needs to be created to accept the product name and quantity of a toy from a customer. After the customer has entered the product name the application needs to display the discounted price of the product to the customer (company is offering 35% discount on all products). The application should allow the customer to select the product name from a list box. and also while i'm data binding to a label with custom data binding with some declarations : "The Discounted Price is "+((System.Convert.todouble(lblprodprice.text)*(system.convert.todouble(txtqty.text)) - ((System.convert.todouble(lblprodprice.text)*(system.convert.todouble(txtqty.text)*0.35)). Where i need to give this declaration in asp.net 2.0.
What are user controls?
How to use push notification?
Does asp.net still recognize the global.asa file?
Why is this service branded with windows livetm?
What are the advantages of asp.net?
In which event of the page viewstate is available?
How can we communicate with each server in N-tier Architecture? and what are the methods?