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. Help me to solve this

Help me to solve this

Scheduled Pinned Locked Moved ASP.NET
helpjavascriptxmljson
5 Posts 3 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
    Malayil alex
    wrote on last edited by
    #1

    Hi, I have a problem with me.....like i have a wizard page this page rendered by parsing the xml and creating the controls in page there are required filed validators also there for textboxes my problem is that there is one link for logout...if the user clicks in the next button with out filling the required filed then there will be validation problem at that time user clicks logout button(one linkbutton) he can't go to logout he need to click 2 times for logging out...i made cause validation property as false..but still user needs to click 2 times... can anybody help me...is there any javascript for removing all the validation or something.. alex.

    B S 2 Replies Last reply
    0
    • M Malayil alex

      Hi, I have a problem with me.....like i have a wizard page this page rendered by parsing the xml and creating the controls in page there are required filed validators also there for textboxes my problem is that there is one link for logout...if the user clicks in the next button with out filling the required filed then there will be validation problem at that time user clicks logout button(one linkbutton) he can't go to logout he need to click 2 times for logging out...i made cause validation property as false..but still user needs to click 2 times... can anybody help me...is there any javascript for removing all the validation or something.. alex.

      B Offline
      B Offline
      boy pockets
      wrote on last edited by
      #2

      not sure what you are trying to ask. But a button has a property called CausesValidation. If this is set to false the postback from the control will not make the page validate.

      1 Reply Last reply
      0
      • M Malayil alex

        Hi, I have a problem with me.....like i have a wizard page this page rendered by parsing the xml and creating the controls in page there are required filed validators also there for textboxes my problem is that there is one link for logout...if the user clicks in the next button with out filling the required filed then there will be validation problem at that time user clicks logout button(one linkbutton) he can't go to logout he need to click 2 times for logging out...i made cause validation property as false..but still user needs to click 2 times... can anybody help me...is there any javascript for removing all the validation or something.. alex.

        S Offline
        S Offline
        Sherin Iranimose
        wrote on last edited by
        #3

        Malayil alex wrote:

        i made cause validation property as false

        At run time or design time?

        **$**herin Iranimose

        M 1 Reply Last reply
        0
        • S Sherin Iranimose

          Malayil alex wrote:

          i made cause validation property as false

          At run time or design time?

          **$**herin Iranimose

          M Offline
          M Offline
          Malayil alex
          wrote on last edited by
          #4

          design time itself...but still needs 2 clicks to go logout

          S 1 Reply Last reply
          0
          • M Malayil alex

            design time itself...but still needs 2 clicks to go logout

            S Offline
            S Offline
            Sherin Iranimose
            wrote on last edited by
            #5

            So when you click logout first time, Validation is happening, isn't it? Please post you page load and link button coding.

            **$**herin Iranimose

            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