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. Where do the controls go?

Where do the controls go?

Scheduled Pinned Locked Moved Web Development
csharpasp-netvisual-studiowindows-adminquestion
2 Posts 2 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.
  • S Offline
    S Offline
    SHaroz
    wrote on last edited by
    #1

    I seem to be having some trouble making a simple asp.net page. I don't know if it's because I'm simply to inexperianced or there is just some setting that I'm forgetting about in IE or IIS. In VS.NET I create a new web application on localhost (yes, I do have IIS). I then double click on WebForm1.aspx and add a label, textbox, and button. I double click the button and type Button1.Text = "Hello" This is just something simple to get me started. Anyway, I build the solution and then click start w/o debugging. For some reason only the label is there. WHY??????????????????? :confused: :confused: :confused:

    M 1 Reply Last reply
    0
    • S SHaroz

      I seem to be having some trouble making a simple asp.net page. I don't know if it's because I'm simply to inexperianced or there is just some setting that I'm forgetting about in IE or IIS. In VS.NET I create a new web application on localhost (yes, I do have IIS). I then double click on WebForm1.aspx and add a label, textbox, and button. I double click the button and type Button1.Text = "Hello" This is just something simple to get me started. Anyway, I build the solution and then click start w/o debugging. For some reason only the label is there. WHY??????????????????? :confused: :confused: :confused:

      M Offline
      M Offline
      MS le Roux
      wrote on last edited by
      #2

      Are these server-side controls (e.g. asp:button ). If these are, did you remember to specify "runat=server"?

      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