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. (Very Urgent)server control events are not firing

(Very Urgent)server control events are not firing

Scheduled Pinned Locked Moved ASP.NET
helpcsharpjavascriptsysadmin
11 Posts 6 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.
  • H Offline
    H Offline
    hemant kaushal
    wrote on last edited by
    #1

    Hi, i m having a strange problem in my Web Application(using Vb.Net). on a particular page server controls(link button,button) events are not firing i.e postback is not happening.There is no Javascript error on it. Thanks in Advance. :confused:

    E G R P I 5 Replies Last reply
    0
    • H hemant kaushal

      Hi, i m having a strange problem in my Web Application(using Vb.Net). on a particular page server controls(link button,button) events are not firing i.e postback is not happening.There is no Javascript error on it. Thanks in Advance. :confused:

      E Offline
      E Offline
      enjoycrack
      wrote on last edited by
      #2

      I'm not sure, but first you should check if those control are set their attribute "run at = server" or not << >>

      H 1 Reply Last reply
      0
      • H hemant kaushal

        Hi, i m having a strange problem in my Web Application(using Vb.Net). on a particular page server controls(link button,button) events are not firing i.e postback is not happening.There is no Javascript error on it. Thanks in Advance. :confused:

        G Offline
        G Offline
        Guffa
        wrote on last edited by
        #3

        When you say that postback is not happening, do you mean that the page never reloads, or do you mean that no events fire when the page reloads? --- b { font-weight: normal; }

        H 1 Reply Last reply
        0
        • E enjoycrack

          I'm not sure, but first you should check if those control are set their attribute "run at = server" or not << >>

          H Offline
          H Offline
          hemant kaushal
          wrote on last edited by
          #4

          runat="server" is set

          E 1 Reply Last reply
          0
          • G Guffa

            When you say that postback is not happening, do you mean that the page never reloads, or do you mean that no events fire when the page reloads? --- b { font-weight: normal; }

            H Offline
            H Offline
            hemant kaushal
            wrote on last edited by
            #5

            page never reloads. i.e onClick it act just like an HtmlButton.

            G 1 Reply Last reply
            0
            • H hemant kaushal

              runat="server" is set

              E Offline
              E Offline
              enjoycrack
              wrote on last edited by
              #6

              it's really strange, but you might try to re-register asp.net with IIS Gud luke << >>

              1 Reply Last reply
              0
              • H hemant kaushal

                Hi, i m having a strange problem in my Web Application(using Vb.Net). on a particular page server controls(link button,button) events are not firing i.e postback is not happening.There is no Javascript error on it. Thanks in Advance. :confused:

                R Offline
                R Offline
                Ritesh1234
                wrote on last edited by
                #7

                Hi, I don't know the exact cause, but even i had the same problem i copied the control to another page and it works......... (It has something to do with Tag in header section of page) I hope this will help u....... Regards, Ritesh

                H 1 Reply Last reply
                0
                • H hemant kaushal

                  Hi, i m having a strange problem in my Web Application(using Vb.Net). on a particular page server controls(link button,button) events are not firing i.e postback is not happening.There is no Javascript error on it. Thanks in Advance. :confused:

                  P Offline
                  P Offline
                  Prasad Babu A
                  wrote on last edited by
                  #8

                  Hi, Check once at InitializeComponent() method. In that check for ur button or linkbutton handler. private void InitializeComponent() { this.ddl.SelectedIndexChanged += new System.EventHandler (this.ddl_SelectedIndexChanged); this.Load += new System.EventHandler(this.Page_Load); } Bye Pessi.

                  1 Reply Last reply
                  0
                  • R Ritesh1234

                    Hi, I don't know the exact cause, but even i had the same problem i copied the control to another page and it works......... (It has something to do with Tag in header section of page) I hope this will help u....... Regards, Ritesh

                    H Offline
                    H Offline
                    hemant kaushal
                    wrote on last edited by
                    #9

                    I already try this but not working

                    1 Reply Last reply
                    0
                    • H hemant kaushal

                      Hi, i m having a strange problem in my Web Application(using Vb.Net). on a particular page server controls(link button,button) events are not firing i.e postback is not happening.There is no Javascript error on it. Thanks in Advance. :confused:

                      I Offline
                      I Offline
                      Ista
                      wrote on last edited by
                      #10

                      Put in line statement in your code: <%# GetAString(); %> then coose view source from the menu in IE if you see that code then you need to run regiis. Make sure AutoPostBack is set to true. DOuble click on the button in web from view to have the IDE create your handler. And put a break point sindie there to see if it actually hits 1 line of code equals many bugs. So don't write any!! -- modified at 9:12 Tuesday 28th February, 2006

                      1 Reply Last reply
                      0
                      • H hemant kaushal

                        page never reloads. i.e onClick it act just like an HtmlButton.

                        G Offline
                        G Offline
                        Guffa
                        wrote on last edited by
                        #11

                        Are you sure that there are no javascript errors? Have you changed the settings in the browser so that the javascript errors aren't only shown in the status bar? Have you examined the generated code to see what it does? Do you have any validators on the page? --- b { font-weight: normal; }

                        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