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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. validation controls

validation controls

Scheduled Pinned Locked Moved ASP.NET
help
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.
  • B Offline
    B Offline
    Bhasker Pinninti
    wrote on last edited by
    #1

    I am having a web page. This web page containing three tabs. Assume A,B and C. I have two type of requests. One is formal and one is emergency. For Formal request, I can fill the data in A and B tabs only For Emergency request, I can fill the data in A, B and C tabs. And I am having a only one submit button(for total page). I am having some validation controls in tab A. And now I have to put some validation controls in tab C( I already did this). But the problem is, these validation controls are working fine for Emergency request. But for formal request, we don’t need to fill tab C. if I submit the form for formal request, the validation controls of tab C is displaying on the page and the page cannot be submitted. My requirement is: For formal request, I need only validation controls available on tab A and I don’t need to display the validation controls of tab C. Any idea…………. thanks, Bhasker P

    M 1 Reply Last reply
    0
    • B Bhasker Pinninti

      I am having a web page. This web page containing three tabs. Assume A,B and C. I have two type of requests. One is formal and one is emergency. For Formal request, I can fill the data in A and B tabs only For Emergency request, I can fill the data in A, B and C tabs. And I am having a only one submit button(for total page). I am having some validation controls in tab A. And now I have to put some validation controls in tab C( I already did this). But the problem is, these validation controls are working fine for Emergency request. But for formal request, we don’t need to fill tab C. if I submit the form for formal request, the validation controls of tab C is displaying on the page and the page cannot be submitted. My requirement is: For formal request, I need only validation controls available on tab A and I don’t need to display the validation controls of tab C. Any idea…………. thanks, Bhasker P

      M Offline
      M Offline
      minhpc_bk
      wrote on last edited by
      #2

      There are two common option come to mind: + Use the ValidationGroup feature in the ASP.NET 2.0. + Enable/disable the validators using the Enabled property.

      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