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. Error Messege

Error Messege

Scheduled Pinned Locked Moved ASP.NET
designsysadmindata-structuresdebugginghelp
7 Posts 4 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.
  • I Offline
    I Offline
    Iridania
    wrote on last edited by
    #1

    Hi, I'm Compiling my program and it works, but when i try to reach one page i get this error messege witch i dont know how to solve it noeven know what it saying exacly, can somebody tell me how to solve it :(, i have read the code and it is ok but i dont undertand what it wants...:confused:: Control 'txtPregunta' of type 'TextBox' must be placed inside a form tag with runat=server. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Web.HttpException: Control 'txtPregunta' of type 'TextBox' must be placed inside a form tag with runat=server. Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [HttpException (0x80004005): Control 'txtPregunta' of type 'TextBox' must be placed inside a form tag with runat=server.] System.Web.UI.Page.VerifyRenderingInServerForm(Control control) System.Web.UI.WebControls.TextBox.AddAttributesToRender(HtmlTextWriter writer) System.Web.UI.WebControls.WebControl.RenderBeginTag(HtmlTextWriter writer) System.Web.UI.WebControls.TextBox.Render(HtmlTextWriter writer) System.Web.UI.Control.RenderControl(HtmlTextWriter writer) System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) System.Web.UI.Control.Render(HtmlTextWriter writer) System.Web.UI.WebControls.WebControl.RenderContents(HtmlTextWriter writer) System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) System.Web.UI.Control.RenderControl(HtmlTextWriter writer) System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) System.Web.UI.Control.Render(HtmlTextWriter writer) System.Web.UI.Control.RenderControl(HtmlTextWriter writer) System.Web.UI.Page.ProcessRequestMain() La Light

    T 1 Reply Last reply
    0
    • I Iridania

      Hi, I'm Compiling my program and it works, but when i try to reach one page i get this error messege witch i dont know how to solve it noeven know what it saying exacly, can somebody tell me how to solve it :(, i have read the code and it is ok but i dont undertand what it wants...:confused:: Control 'txtPregunta' of type 'TextBox' must be placed inside a form tag with runat=server. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Web.HttpException: Control 'txtPregunta' of type 'TextBox' must be placed inside a form tag with runat=server. Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [HttpException (0x80004005): Control 'txtPregunta' of type 'TextBox' must be placed inside a form tag with runat=server.] System.Web.UI.Page.VerifyRenderingInServerForm(Control control) System.Web.UI.WebControls.TextBox.AddAttributesToRender(HtmlTextWriter writer) System.Web.UI.WebControls.WebControl.RenderBeginTag(HtmlTextWriter writer) System.Web.UI.WebControls.TextBox.Render(HtmlTextWriter writer) System.Web.UI.Control.RenderControl(HtmlTextWriter writer) System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) System.Web.UI.Control.Render(HtmlTextWriter writer) System.Web.UI.WebControls.WebControl.RenderContents(HtmlTextWriter writer) System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) System.Web.UI.Control.RenderControl(HtmlTextWriter writer) System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) System.Web.UI.Control.Render(HtmlTextWriter writer) System.Web.UI.Control.RenderControl(HtmlTextWriter writer) System.Web.UI.Page.ProcessRequestMain() La Light

      T Offline
      T Offline
      Timcyspet
      wrote on last edited by
      #2

      hi is this your asp code check this bye timcyspet

      F I 2 Replies Last reply
      0
      • T Timcyspet

        hi is this your asp code check this bye timcyspet

        F Offline
        F Offline
        FatihTheScorpio
        wrote on last edited by
        #3

        the HTML form tag must be

        S 1 Reply Last reply
        0
        • F FatihTheScorpio

          the HTML form tag must be

          S Offline
          S Offline
          Sebastien Lachance
          wrote on last edited by
          #4

          And the control must be between those Form tag My Blog

          1 Reply Last reply
          0
          • T Timcyspet

            hi is this your asp code check this bye timcyspet

            I Offline
            I Offline
            Iridania
            wrote on last edited by
            #5

            no, Actually my code is this: (by the way i didnt put my hands in this code, so i dont know why id doesnt work because it was generate by the .net).:

            Nombre: La Light

            I 2 Replies Last reply
            0
            • I Iridania

              no, Actually my code is this: (by the way i didnt put my hands in this code, so i dont know why id doesnt work because it was generate by the .net).:

              Nombre: La Light

              I Offline
              I Offline
              Iridania
              wrote on last edited by
              #6

              This is the code... ... La Light

              1 Reply Last reply
              0
              • I Iridania

                no, Actually my code is this: (by the way i didnt put my hands in this code, so i dont know why id doesnt work because it was generate by the .net).:

                Nombre: La Light

                I Offline
                I Offline
                Iridania
                wrote on last edited by
                #7

                This is the code...

                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