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. Web Development
  3. ASP.NET
  4. validation controls in asp

validation controls in asp

Scheduled Pinned Locked Moved ASP.NET
javascriptcssregexhelp
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.
  • S Offline
    S Offline
    sritha
    wrote on last edited by
    #1

    i have designed registration form. in that i used a calender for date of birth and date of join . just i drag and dropped the calender and textbox for date of birth.means whatever the date i have choosen in that calender it must appear over the textbox.here my constraint is doj must be greater than date of birth. for this i need validation controls and validation expressions without javascript if i used the validation controls like regular expression validator and compare validator then it is raising the validation even i gave the date of join greater than date of birth and date of join less than date of birth. help me in this regard as soon as possible please help me in this regard

    K 1 Reply Last reply
    0
    • S sritha

      i have designed registration form. in that i used a calender for date of birth and date of join . just i drag and dropped the calender and textbox for date of birth.means whatever the date i have choosen in that calender it must appear over the textbox.here my constraint is doj must be greater than date of birth. for this i need validation controls and validation expressions without javascript if i used the validation controls like regular expression validator and compare validator then it is raising the validation even i gave the date of join greater than date of birth and date of join less than date of birth. help me in this regard as soon as possible please help me in this regard

      K Offline
      K Offline
      Kaushal Arora
      wrote on last edited by
      #2

      You can use Custom Validator and in that you can have Javascript code or server side code too. It is upto you. Regards, Kaushal Arora

      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