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. validator control error

validator control error

Scheduled Pinned Locked Moved ASP.NET
helpwinformstutorialquestion
3 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.
  • I Offline
    I Offline
    IamAmit
    wrote on last edited by
    #1

    Hello friends.. I am facing one problem with requiredfieldvalidator .My .aspx page contains top, bottom and left web user controls. The middle part of the page contains some textboxes and requiredfield validator associated with them. Left control displays some menus. I use link button to display links on the left control. Now, whenever i click on the link buttons the requiredfiledvalidator displays error because the textbox is empty.The important fact is that both linkbuttons and requiredfieldvalidator lies on same page. How to avoid this?

    J 1 Reply Last reply
    0
    • I IamAmit

      Hello friends.. I am facing one problem with requiredfieldvalidator .My .aspx page contains top, bottom and left web user controls. The middle part of the page contains some textboxes and requiredfield validator associated with them. Left control displays some menus. I use link button to display links on the left control. Now, whenever i click on the link buttons the requiredfiledvalidator displays error because the textbox is empty.The important fact is that both linkbuttons and requiredfieldvalidator lies on same page. How to avoid this?

      J Offline
      J Offline
      John ph
      wrote on last edited by
      #2

      Set the CausesValidation Property of the LinkButton to false.

      Regards
      J O H N :rose:
      "Even eagles need a push." David McNally


      I 1 Reply Last reply
      0
      • J John ph

        Set the CausesValidation Property of the LinkButton to false.

        Regards
        J O H N :rose:
        "Even eagles need a push." David McNally


        I Offline
        I Offline
        IamAmit
        wrote on last edited by
        #3

        Thanks ...its working.

        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