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 Control Error

Validation Control Error

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

    Dear all, I have a submit button, two dropdown list, one textbox and some check boxes. I want to validate the form. The problem is I used javascript function for validating check boxes and validation control for rest of the controls. I add button.attribute.add() for adding javascript. But at the same time they are not working. only javascript function is working ,validation control not working. If i comment button.attibutes.add() function then only validation controls working. I want to work both valiadtion control and javascript function at client side. Please suggest any option Thanking You BInu Varghese

    S 1 Reply Last reply
    0
    • M meetbinu2003

      Dear all, I have a submit button, two dropdown list, one textbox and some check boxes. I want to validate the form. The problem is I used javascript function for validating check boxes and validation control for rest of the controls. I add button.attribute.add() for adding javascript. But at the same time they are not working. only javascript function is working ,validation control not working. If i comment button.attibutes.add() function then only validation controls working. I want to work both valiadtion control and javascript function at client side. Please suggest any option Thanking You BInu Varghese

      S Offline
      S Offline
      Sushant Duggal
      wrote on last edited by
      #2

      Hi, The validators used in .NET are client side validators. And javascript is rendered for all the validators that you use in your project. But, if you add both , you can. Give me the code, I'll try to help you out Thanks, Sushant Duggal.

      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