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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. set position of output

set position of output

Scheduled Pinned Locked Moved ASP.NET
csharpasp-net
4 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
    sweetypaul
    wrote on last edited by
    #1

    is it possible to diplay output in a specific position in a page without using controls in asp.net

    C S 2 Replies Last reply
    0
    • S sweetypaul

      is it possible to diplay output in a specific position in a page without using controls in asp.net

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      No. If you do a response.Write, it always goes on the top of hte page. To position it, you need to put it inside a control that is positioned on the page where you want it. Actually, that's not true. You could use CSS to position something, and then you can emit it where-ever you want, so long as you emit a div or something that uses the CSS class that positions it. But, it's really much nicer to use a control IMO.

      Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

      S 1 Reply Last reply
      0
      • C Christian Graus

        No. If you do a response.Write, it always goes on the top of hte page. To position it, you need to put it inside a control that is positioned on the page where you want it. Actually, that's not true. You could use CSS to position something, and then you can emit it where-ever you want, so long as you emit a div or something that uses the CSS class that positions it. But, it's really much nicer to use a control IMO.

        Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

        S Offline
        S Offline
        sweetypaul
        wrote on last edited by
        #3

        I am fetching product name and the corresponding link from the database i want to display the product name and when click on it i have to go the corresponding page.search button ia also there.the products similar to that we typed will also have to display.that's why i am using response.write.But I don't want to display these at the beginning of the page.if anyone have a solution for this plse send.

        1 Reply Last reply
        0
        • S sweetypaul

          is it possible to diplay output in a specific position in a page without using controls in asp.net

          S Offline
          S Offline
          sweetypaul
          wrote on last edited by
          #4

          is it possible to diplay output in a specific position in a page without using controls in asp.net.I am fetching product name and the corresponding link from the database i want to display the product name and when click on it i have to go the corresponding page.search button ia also there.the products similar to that we typed will also have to display.that's why i am using response.write.But I don't want to display these at the beginning of the page.if anyone have a solution for this plse send.

          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