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. submit button

submit button

Scheduled Pinned Locked Moved ASP.NET
help
10 Posts 5 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
    Member 14910143
    wrote on last edited by
    #1

    kindly help me to solve this issue.....i have Created a Login website - Validation Controls Registration Page but my submit button doesn't show message code i wrote which was:- Response.Write("YOU HAVE SUCCESSFULLY REGISTERED...!!!!");

    L F O Z 4 Replies Last reply
    0
    • M Member 14910143

      kindly help me to solve this issue.....i have Created a Login website - Validation Controls Registration Page but my submit button doesn't show message code i wrote which was:- Response.Write("YOU HAVE SUCCESSFULLY REGISTERED...!!!!");

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

      Please edit your question and show the code that has the problem. Without it it is impossible to guess what may be wrong.

      M 1 Reply Last reply
      0
      • L Lost User

        Please edit your question and show the code that has the problem. Without it it is impossible to guess what may be wrong.

        M Offline
        M Offline
        Member 14910143
        wrote on last edited by
        #3

        button code was one line code and here it is, Response.Write("you have successfully registered!!!"); once i fill out my web form registration form and i click on submit button nothing is displayed from what i wrote on button code(submit)

        L 1 Reply Last reply
        0
        • M Member 14910143

          kindly help me to solve this issue.....i have Created a Login website - Validation Controls Registration Page but my submit button doesn't show message code i wrote which was:- Response.Write("YOU HAVE SUCCESSFULLY REGISTERED...!!!!");

          F Offline
          F Offline
          F ES Sitecore
          wrote on last edited by
          #4

          In addition to what Richard said, asp.net doesn't work like that, response.write is useless in 99% of occasions. If you view the source of your page you'll probably see your message right at the very bottom where it is no use at all. If you want to show a message in a particular place use an empty asp:Label or asp:Literal and when you want the message to be there set the Text of the label\literal to your message, you can also use the Visible property to show\hide it.

          M 1 Reply Last reply
          0
          • M Member 14910143

            button code was one line code and here it is, Response.Write("you have successfully registered!!!"); once i fill out my web form registration form and i click on submit button nothing is displayed from what i wrote on button code(submit)

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

            Please read my suggestion again.

            M 1 Reply Last reply
            0
            • F F ES Sitecore

              In addition to what Richard said, asp.net doesn't work like that, response.write is useless in 99% of occasions. If you view the source of your page you'll probably see your message right at the very bottom where it is no use at all. If you want to show a message in a particular place use an empty asp:Label or asp:Literal and when you want the message to be there set the Text of the label\literal to your message, you can also use the Visible property to show\hide it.

              M Offline
              M Offline
              Member 14910143
              wrote on last edited by
              #6

              Kindly where can i find asp:label? or literal and how am i going to use it? kindly direct me

              F 1 Reply Last reply
              0
              • L Lost User

                Please read my suggestion again.

                M Offline
                M Offline
                Member 14910143
                wrote on last edited by
                #7

                but i didn't understand ..kindly break it for me

                1 Reply Last reply
                0
                • M Member 14910143

                  Kindly where can i find asp:label? or literal and how am i going to use it? kindly direct me

                  F Offline
                  F Offline
                  F ES Sitecore
                  wrote on last edited by
                  #8

                  Label Class (System.Web.UI.WebControls) | Microsoft Docs[^]

                  1 Reply Last reply
                  0
                  • M Member 14910143

                    kindly help me to solve this issue.....i have Created a Login website - Validation Controls Registration Page but my submit button doesn't show message code i wrote which was:- Response.Write("YOU HAVE SUCCESSFULLY REGISTERED...!!!!");

                    O Offline
                    O Offline
                    Otekpo Emmanuel
                    wrote on last edited by
                    #9

                    Just the same way you used to add the button control, same way you will find the Label control and add it. Or just copy this

                    Then from codebehind, enter this code on your submit button event.

                    Label1.Text = "You have successfully registered";

                    1 Reply Last reply
                    0
                    • M Member 14910143

                      kindly help me to solve this issue.....i have Created a Login website - Validation Controls Registration Page but my submit button doesn't show message code i wrote which was:- Response.Write("YOU HAVE SUCCESSFULLY REGISTERED...!!!!");

                      Z Offline
                      Z Offline
                      ZurdoDev
                      wrote on last edited by
                      #10

                      How can anyone help you without seeing what you did?

                      Social Media - A platform that makes it easier for the crazies to find each other. Everyone is born right handed. Only the strongest overcome it. Fight for left-handed rights and hand equality.

                      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