Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. validation

validation

Scheduled Pinned Locked Moved C#
csharpjavascriptasp-netquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    nachisaravanan
    wrote on last edited by
    #1

    Hi, I want to develope an web application using asp.net 2.0.For validation,whether javascript validation is better or using validation controls is better? Thanks in advance.

    M 1 Reply Last reply
    0
    • N nachisaravanan

      Hi, I want to develope an web application using asp.net 2.0.For validation,whether javascript validation is better or using validation controls is better? Thanks in advance.

      M Offline
      M Offline
      MCSD Gandalf
      wrote on last edited by
      #2

      A lot of this is going to depend on two things; how complicated is your validation? and how good is your java. The validation controls just generate java script to run on the client, so you are not buying anything by doing it in java unless you have some validation that the controls won't do. The big advantages of using the validation controls is that you don't have as much code to write or support AND the validation automatically happens on the client AND the server side. If you write your own java script, and want the added security of having the validation run on the server, you'll have to code it there as well. HTH WhiteWizard aka Gandalf

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups