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. How show table backgroud in user control

How show table backgroud in user control

Scheduled Pinned Locked Moved ASP.NET
csharpdesignhelpquestion
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.
  • M Offline
    M Offline
    machocr
    wrote on last edited by
    #1

    Hi, im working on a user control (.net 1.1) . My control has a table and the table has a backgroud. When I see my control in design mode it shows the backgroud image correctly but when a run the project the picture is not showed. When I put my control in other page the control lose image reference. So, how can I made a user control with table backgroun images that I can use in any web page than put that control. Please help .:(( :confused: Thank you La realidad no es más que impulsos eléctricos del cerebro - Morpheus

    R 1 Reply Last reply
    0
    • M machocr

      Hi, im working on a user control (.net 1.1) . My control has a table and the table has a backgroud. When I see my control in design mode it shows the backgroud image correctly but when a run the project the picture is not showed. When I put my control in other page the control lose image reference. So, how can I made a user control with table backgroun images that I can use in any web page than put that control. Please help .:(( :confused: Thank you La realidad no es más que impulsos eléctricos del cerebro - Morpheus

      R Offline
      R Offline
      RichardGrimmer
      wrote on last edited by
      #2

      Would guess that you're moving the ascx to a new location after development - you are moving the image too? You'll need to make sure that the image is available from the folder that contains the page that you want to use the control on (phew!)...this is where relative pathing comes in handy....can specify the path like "/images/background.jpg" or whatever, then just have to make sure the relative path exists in the main folder "Now I guess I'll sit back and watch people misinterpret what I just said......" Christian Graus At The Soapbox

      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