What you want to see on DotNetFunda.com ?
DotNetFunda.Com Logo
Twitter TwitterLinkedIn
YouTubeGoogle
 Online : 16730 |  Welcome, Guest!   Register  Login
 Home > Forums > ASP.NET > Why Java Script validations ...
Mahesh_Chs

Why Java Script validations

Replies: 2 | Posted by: Mahesh_Chs on 7/22/2012 | Category: ASP.NET Forums | Views: 330 | Status: [Member] | Points: 10  


Hi,

Why i need to use JavaScript validations rather than using the validation controls of asp.net(Tool box validations)

what is the difference between JavaScript validations and normal validations and Ajax validations


Reply | Reply with attachment | Alert Moderator

 Responses below this adGet hundreds of .NET Tips and Tricks videos

 Replies

Mallesh
Mallesh  
Posted on: 7/23/2012 12:39:18 AM
Level: Starter | Status: [Member] | Points: 25

Javascript Validations are used to validate at client side without postback the page to the server.

But Asp.net validation is a validation which use to validate in server side as well as client side to

validate the data it should goes to server, so it is postbacked. So if you just want to validate at the

client side and want a very fast validation use javascript. Otherwise use asp.net validation control as validating both the sides is always best.

For any further clarification go to this link:

http://forums.devx.com/showthread.php?t=11912

== Mallesh

Mahesh_Chs, if this helps please login to Mark As Answer. | Reply | Alert Moderator 

Bhupentiwari
Bhupentiwari  
Posted on: 7/23/2012 12:50:07 AM
Level: Starter | Status: [Member] | Points: 25

Javascript provide client side validation. and it is very fast as compare to server side validation(asp.net validation).

but javascript validation will not work if javascript is disabled at client side browser

Thanks n Regards
Bhupendra Tiwari

Mahesh_Chs, if this helps please login to Mark As Answer. | Reply | Alert Moderator 

Reply - Please login to reply


Click here to login & reply

About Us | Contact Us | The Team | Advertise | Software Development | Write for us | Testimonials | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
General Notice: If you find plagiarised (copied) contents on this page, please let us know the original source along with your correct email id (to communicate) for further action.
Copyright © DotNetFunda.Com. All Rights Reserved. Copying or mimicking the site design and layout is prohibited. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks. | 5/22/2013 2:45:26 AM