How do you do validations. Whether client-side or
server-side validations are better.?

Answer Posted / jiten

Asp.Net has few validation control like
campare , requirefield , rang ,regulorexpression and custom

u can use any validation control with html ,asp control

Asp.net validation control are by default cilde side
validation .
and the cliend side validation is better blz it's reduse
the burdon to the server

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

List down the sequence of methods called during the page load.

716


Define repository pattern in mvc.net? : asp.net mvc

753


Explain cookies with example.

759


What is routing in MVC?

803


Differentiate between Server.Transfer and Response.Redirect with functionality? Why we can choose one over the other?

860


What is the web.config file in asp?

833


Define a multilingual website?

726


How can you implement the postback property of an asp.net control?

731


Define resource files.

736


In asp.net, how can you validate drop down box?

816


Can we have multiple master pages in asp net?

714


What is a web pool?

787


What are validators and list some validators of asp.net?

737


Differences between “dataset” and “datareader”.

754


Why asp.net is used?

746