What is the good practice to implement validations in aspx page?



What is the good practice to implement validations in aspx page?..

Answer / Vikas Singh

In ASP.NET, server-side validation should be implemented using the Validation controls like RequiredFieldValidator, RangeValidator, RegularExpressionValidator, and CustomValidator. Client-side validation can also be used for better user experience by combining JavaScript libraries such as jQuery Validation or AngularJS.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

What definition correctly defines a label server control with the name set to lblHoop? a) <asp:Label name=?lblHoop? runat=?server? /> b) <Label id=?lblHoop? runat=?server? /> c) <asp:Label id=?lblHoop? runat=?server? /> d) <server label name=?lblHoop? runat=?asp? />

3 Answers   Syntax Softtech,


Is string a value type or a reference type?

13 Answers  


How to compare two strings with out Case sensitive ?

4 Answers   Protech, ProtoTech,


What is the file extension of web service?

1 Answers  


What is globalization and localization in asp net?

1 Answers  


What are the ways to show data grid inside a data grid for a master details type of tables? If we write any code for DataGrid methods, what is the access specifier used for that methods in the code behind file and why?

1 Answers  


Where viewstate value is stored in asp.net?

1 Answers  


Which protocol is used in a web api?

1 Answers  


How does output caching work in ASP.NET?

1 Answers  


Any body Having SHAREPOINT Material plzzz? please material to send prasad.k12@gmail.com

0 Answers  


what are httphandlers and httpmodules.and their differences.

1 Answers   Siemens,


From the given paragraph of text, write a program to match the strings of format “Any number of numerals followed by an underscore followed by any number of alphabets" ex:123_abc (Note:using regular expressions)

4 Answers   Microsoft,


Categories