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. runat=server problem

runat=server problem

Scheduled Pinned Locked Moved ASP.NET
helpcsharpsysadmin
5 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.
  • H Offline
    H Offline
    Hauptman n
    wrote on last edited by
    #1

    Hi! i've got the following code:

    name:

    mail:

    text:

    but when i execute the program, i get an error message: Control 'name' of type 'TextBox' must be placed inside a form tag with runat=server. but ut has a tag, called runat=server scio me nihil scire My OpenSource(zlib/libpng License) Engine: http://sourceforge.net/projects/rendertech Its incurable, its a Pentium division failure.

    I P H T 4 Replies Last reply
    0
    • H Hauptman n

      Hi! i've got the following code:

      name:

      mail:

      text:

      but when i execute the program, i get an error message: Control 'name' of type 'TextBox' must be placed inside a form tag with runat=server. but ut has a tag, called runat=server scio me nihil scire My OpenSource(zlib/libpng License) Engine: http://sourceforge.net/projects/rendertech Its incurable, its a Pentium division failure.

      I Offline
      I Offline
      Ian Darling
      wrote on last edited by
      #2

      You need to make sure that your asp.net controls are placed within a set of <form></form> tags -- Ian Darling "The different versions of the UN*X brand operating system are numbered in a logical sequence: 5, 6, 7, 2, 2.9, 3, 4.0, III, 4.1, V, 4.2, V.2, and 4.3" - Alan Filipski

      1 Reply Last reply
      0
      • H Hauptman n

        Hi! i've got the following code:

        name:

        mail:

        text:

        but when i execute the program, i get an error message: Control 'name' of type 'TextBox' must be placed inside a form tag with runat=server. but ut has a tag, called runat=server scio me nihil scire My OpenSource(zlib/libpng License) Engine: http://sourceforge.net/projects/rendertech Its incurable, its a Pentium division failure.

        P Offline
        P Offline
        Paul Watson
        wrote on last edited by
        #3

        The error is not saying that your TextBox has no runat=server attribute, it is saying that you have not placed a Form with runat=server around the TextBox. regards, Paul Watson Bluegrass South Africa Christopher Duncan quoted: "All Corvettes are red. Everything else is just a mistake." Crikey! ain't life grand? Einstein says...

        1 Reply Last reply
        0
        • H Hauptman n

          Hi! i've got the following code:

          name:

          mail:

          text:

          but when i execute the program, i get an error message: Control 'name' of type 'TextBox' must be placed inside a form tag with runat=server. but ut has a tag, called runat=server scio me nihil scire My OpenSource(zlib/libpng License) Engine: http://sourceforge.net/projects/rendertech Its incurable, its a Pentium division failure.

          H Offline
          H Offline
          Hauptman n
          wrote on last edited by
          #4

          thank you now it runs scio me nihil scire My OpenSource(zlib/libpng License) Engine: http://sourceforge.net/projects/rendertech Its incurable, its a Pentium division failure.

          1 Reply Last reply
          0
          • H Hauptman n

            Hi! i've got the following code:

            name:

            mail:

            text:

            but when i execute the program, i get an error message: Control 'name' of type 'TextBox' must be placed inside a form tag with runat=server. but ut has a tag, called runat=server scio me nihil scire My OpenSource(zlib/libpng License) Engine: http://sourceforge.net/projects/rendertech Its incurable, its a Pentium division failure.

            T Offline
            T Offline
            Talal Sultan
            wrote on last edited by
            #5

            Hi, I have a kind of related problem to this. I have a form and I have the runat=server included but I want the form to have an action also and this is not working. I'm not sure if it's possible to have both runat server and action leading to another URL together...now that i'm testing, I have a HTML submit button and when i click on it, I get the aspx page reloaded as if no action was set. Any idea if this is possible? Thanks, Talal

            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