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. button click event fires without code

button click event fires without code

Scheduled Pinned Locked Moved ASP.NET
testingbeta-testingquestion
12 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.
  • K Offline
    K Offline
    Kissy16
    wrote on last edited by
    #1

    I have login page with both button click and text changed event having same code. If i disable the code on buttonclick event and enable the textcox changed event,if i click on the button, page is redirecting to the next page which is wrong.Why it is happening? Which event calls first button click event or textchanged event. so i am testing both cases. Otherwise wats the solution to do both the ways? I wanted to login either through button click or by click 'enter'. If u r free please give me the reason and solution

    kissy

    N L 2 Replies Last reply
    0
    • K Kissy16

      I have login page with both button click and text changed event having same code. If i disable the code on buttonclick event and enable the textcox changed event,if i click on the button, page is redirecting to the next page which is wrong.Why it is happening? Which event calls first button click event or textchanged event. so i am testing both cases. Otherwise wats the solution to do both the ways? I wanted to login either through button click or by click 'enter'. If u r free please give me the reason and solution

      kissy

      N Offline
      N Offline
      Not Active
      wrote on last edited by
      #2

      You should set the login button as the default button on your page. The you don't have to handle the textchange event from your textbox, the enter key will cause the button click event.


      only two letters away from being an asset

      1 Reply Last reply
      0
      • K Kissy16

        I have login page with both button click and text changed event having same code. If i disable the code on buttonclick event and enable the textcox changed event,if i click on the button, page is redirecting to the next page which is wrong.Why it is happening? Which event calls first button click event or textchanged event. so i am testing both cases. Otherwise wats the solution to do both the ways? I wanted to login either through button click or by click 'enter'. If u r free please give me the reason and solution

        kissy

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        [Message Deleted]

        N 1 Reply Last reply
        0
        • L Lost User

          [Message Deleted]

          N Offline
          N Offline
          Not Active
          wrote on last edited by
          #4

          Do you even look at other responses before posting yours? Your response was redundant, stop clouding up the forum with such nonsense.


          only two letters away from being an asset

          L T 2 Replies Last reply
          0
          • N Not Active

            Do you even look at other responses before posting yours? Your response was redundant, stop clouding up the forum with such nonsense.


            only two letters away from being an asset

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #5

            [Message Deleted]

            C 1 Reply Last reply
            0
            • N Not Active

              Do you even look at other responses before posting yours? Your response was redundant, stop clouding up the forum with such nonsense.


              only two letters away from being an asset

              T Offline
              T Offline
              Tech Member123
              wrote on last edited by
              #6

              Hi Mark Nischalke, What if the member asked you how to set the login button as the default button. Will you nag him that he does not have basic knowledge in .NET. Don't think that People posting questions are brilliant like you. Note that there may be some beginners, student among them. Posting message like this shows your level of maturity.

              N 1 Reply Last reply
              0
              • T Tech Member123

                Hi Mark Nischalke, What if the member asked you how to set the login button as the default button. Will you nag him that he does not have basic knowledge in .NET. Don't think that People posting questions are brilliant like you. Note that there may be some beginners, student among them. Posting message like this shows your level of maturity.

                N Offline
                N Offline
                Not Active
                wrote on last edited by
                #7

                Nice of you to create another account just to reply here. I don't hide behind false accounts and aliases.


                only two letters away from being an asset

                B T L 3 Replies Last reply
                0
                • N Not Active

                  Nice of you to create another account just to reply here. I don't hide behind false accounts and aliases.


                  only two letters away from being an asset

                  B Offline
                  B Offline
                  Blue_Boy
                  wrote on last edited by
                  #8

                  Nice hit. You got my 5. :rolleyes:


                  I Love T-SQL "Don't torture yourself,let the life to do it for you." If my post helps you kindly save my time by voting my post.

                  1 Reply Last reply
                  0
                  • L Lost User

                    [Message Deleted]

                    C Offline
                    C Offline
                    Christian Graus
                    wrote on last edited by
                    #9

                    The only thing worse than the morons asking around here, is the morons answering redundantly, or with ignorance. Mark is a respected member of this community and he is upholding the standards we used to have around here.

                    Christian Graus Driven to the arms of OSX by Vista. Please read this[^] if you don't like the answer I gave to your question.

                    1 Reply Last reply
                    0
                    • N Not Active

                      Nice of you to create another account just to reply here. I don't hide behind false accounts and aliases.


                      only two letters away from being an asset

                      T Offline
                      T Offline
                      Tech Member123
                      wrote on last edited by
                      #10

                      I am beginner to the .NET world. Since some people abusing beginners in CodeProject forums, i am not posting questions here. But i started reading articles in this site. Everybody in this forum should consider the beginners also. Your skill should be helpful not only experts but also some beginners and students. I am not asking you to teach .NET. But you should not abuse them when you answer them.

                      1 Reply Last reply
                      0
                      • N Not Active

                        Nice of you to create another account just to reply here. I don't hide behind false accounts and aliases.


                        only two letters away from being an asset

                        L Offline
                        L Offline
                        Lost User
                        wrote on last edited by
                        #11

                        Is answering a question in the CodeProject a mistake? Could you please find any inappropriate, false answer from all my posts? As I don't have time to debate with you, I have removed my previous messages from this thread.

                        K 1 Reply Last reply
                        0
                        • L Lost User

                          Is answering a question in the CodeProject a mistake? Could you please find any inappropriate, false answer from all my posts? As I don't have time to debate with you, I have removed my previous messages from this thread.

                          K Offline
                          K Offline
                          Kissy16
                          wrote on last edited by
                          #12

                          Any how thanks for ur answers. from this long thread i didnt get the answer for my question. what happenend to all of u,just ignore the otherthings and post ur idea regarding my question. sorry if i comment anything wrong. But i didn't get the answer frm ur discussion.

                          kissy

                          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