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 Question??

Validation Question??

Scheduled Pinned Locked Moved ASP.NET
tutorialquestioncsharpasp-netsysadmin
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.
  • H Offline
    H Offline
    hounetdev
    wrote on last edited by
    #1

    I have a form with may textboxes. what i want to do is causevalidation with two buttons for different boxes. for example button1 validates only textbox1 and button two validates textboxes2 and 3, and not textbox1. it i turn on cuasevalidation for both buttons they both validate all the textboxes. Does anyone have any idea on how to do this? all the textboxes and buttons are server side, and on the same page, I am using ASP.NET with VB. Thank you, Santana

    A 1 Reply Last reply
    0
    • H hounetdev

      I have a form with may textboxes. what i want to do is causevalidation with two buttons for different boxes. for example button1 validates only textbox1 and button two validates textboxes2 and 3, and not textbox1. it i turn on cuasevalidation for both buttons they both validate all the textboxes. Does anyone have any idea on how to do this? all the textboxes and buttons are server side, and on the same page, I am using ASP.NET with VB. Thank you, Santana

      A Offline
      A Offline
      Angel Reyes
      wrote on last edited by
      #2

      I'm not positive but I would think you would have to create a Custom Validator[^] to do something like that.

      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