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 pages

asp pages

Scheduled Pinned Locked Moved Web Development
csharpvisual-studiohelp
3 Posts 3 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.
  • C Offline
    C Offline
    cmarmr
    wrote on last edited by
    #1

    ok i have a existing asp page that was created by another programmer and i pulled it in visual studio and i put a button and a textbox on the page visualy and the page looks right when i view it in visual studio but all my objects are all over the place when i go the the web site can somebody help me with this chad

    G I 2 Replies Last reply
    0
    • C cmarmr

      ok i have a existing asp page that was created by another programmer and i pulled it in visual studio and i put a button and a textbox on the page visualy and the page looks right when i view it in visual studio but all my objects are all over the place when i go the the web site can somebody help me with this chad

      G Offline
      G Offline
      George L Jackson
      wrote on last edited by
      #2

      The ASP server-side code (I assume you are not talking about ASP.NET) generates html that is only visible in the browser. Visual Studio can not determine what the code should look like at design time.

      1 Reply Last reply
      0
      • C cmarmr

        ok i have a existing asp page that was created by another programmer and i pulled it in visual studio and i put a button and a textbox on the page visualy and the page looks right when i view it in visual studio but all my objects are all over the place when i go the the web site can somebody help me with this chad

        I Offline
        I Offline
        Illegal Operation
        wrote on last edited by
        #3

        try adding the "runat=server" string when you insert a textbox or button. You will still see the HTML version of code when you view the source but this information isn't very helpfull for someone trying to steal your code. When you create textboxes, dropdownlists, buttons even hyperlinks and images, use the asp:"%name%" tag. this will make your life much easier. :) Illegal Operation Making Computer Software Talk

        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