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 Webforms - Is there an easy way to know if a validator in a hidden control is failing?

ASP.Net Webforms - Is there an easy way to know if a validator in a hidden control is failing?

Scheduled Pinned Locked Moved Web Development
csharpasp-nethelpquestion
1 Posts 1 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.
  • R Offline
    R Offline
    Rafferty Uy
    wrote on last edited by
    #1

    We have an aspx file which contains a lot of custom web controls (ascx files) which has validators in it. Now when I click a button, it doesn't work because some validator is failing. My problem is that there're no errors that appear on the screen, so I suspect that it's one of the controls with .Visible = false. Is there any easy way to know which one is failing? - It's too troublesome to change the code first and set every control to .Visible = true just to test. - Breakpoints doesn't work as well, since validators run on client side. Thanks!

    Rafferty

    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