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. ASP Buttons event not firing

ASP Buttons event not firing

Scheduled Pinned Locked Moved ASP.NET
helpjavascriptsysadminquestion
5 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
    Blikkies
    wrote on last edited by
    #1

    Hey all, I have got a problem with my buttons on my website, the buttons not always causing a postback, sometimes it works and sometime it does not, the buttons CausesValidation are set to false. I am not getting any javascript or server side errors. Any Idea that will cause this issue?

    J 1 Reply Last reply
    0
    • B Blikkies

      Hey all, I have got a problem with my buttons on my website, the buttons not always causing a postback, sometimes it works and sometime it does not, the buttons CausesValidation are set to false. I am not getting any javascript or server side errors. Any Idea that will cause this issue?

      J Offline
      J Offline
      Joshua Omundson
      wrote on last edited by
      #2

      If you have CausesValidation set to True and you are not getting a postback, then it's possible that your validation controls are firing and not being displayed. If you have validation controls set up make sure they are displayed properly to a ValidationSummary control. You could also set your CausesValidation property to False to by pass the validation and make sure it's hitting the server.

      B 1 Reply Last reply
      0
      • J Joshua Omundson

        If you have CausesValidation set to True and you are not getting a postback, then it's possible that your validation controls are firing and not being displayed. If you have validation controls set up make sure they are displayed properly to a ValidationSummary control. You could also set your CausesValidation property to False to by pass the validation and make sure it's hitting the server.

        B Offline
        B Offline
        Blikkies
        wrote on last edited by
        #3

        hey, sorry, I meant to say my CauseValidation is set to false, I have take a look and there is no validation on that page.

        J 1 Reply Last reply
        0
        • B Blikkies

          hey, sorry, I meant to say my CauseValidation is set to false, I have take a look and there is no validation on that page.

          J Offline
          J Offline
          Joshua Omundson
          wrote on last edited by
          #4

          Posting your code would help. Have you walked through it to make sure the code is following the proper path?

          B 1 Reply Last reply
          0
          • J Joshua Omundson

            Posting your code would help. Have you walked through it to make sure the code is following the proper path?

            B Offline
            B Offline
            Blikkies
            wrote on last edited by
            #5

            Hey Joshua, I have solved the issue, it was my ComponentArt menu on my master page, I have read that it's a common issue with ComponentArt 2007 and framework 3.5, I decided to scrap the component and create my menu from scratch. Thanks for your help

            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