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 GetWebResourceUrl()

ASP.NET GetWebResourceUrl()

Scheduled Pinned Locked Moved Web Development
csharphtmlasp-netsysadminquestion
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.
  • G Offline
    G Offline
    g00fyman
    wrote on last edited by
    #1

    Hi all, just wondering if there is any way to embed an ASP.NET page into the assembly resources and have it served to the client. The standard GetWebResourceUrl() with type "text/html" simply returns the 'raw' code in the file and is not passed through the .NET web server, is there a way to acheive this? I am developing a custom server control and would like to embed this page within an iframe in the control. regards, g00fy

    G B 2 Replies Last reply
    0
    • G g00fyman

      Hi all, just wondering if there is any way to embed an ASP.NET page into the assembly resources and have it served to the client. The standard GetWebResourceUrl() with type "text/html" simply returns the 'raw' code in the file and is not passed through the .NET web server, is there a way to acheive this? I am developing a custom server control and would like to embed this page within an iframe in the control. regards, g00fy

      G Offline
      G Offline
      Guffa
      wrote on last edited by
      #2

      If you want the page to ne processed, you have to request it from the server. It seems like a long detour to have the server request the page from itself, then turn it into a resource and let the iframe request the resource. Why don't you just let the iframe request the page directly?

      --- b { font-weight: normal; }

      1 Reply Last reply
      0
      • G g00fyman

        Hi all, just wondering if there is any way to embed an ASP.NET page into the assembly resources and have it served to the client. The standard GetWebResourceUrl() with type "text/html" simply returns the 'raw' code in the file and is not passed through the .NET web server, is there a way to acheive this? I am developing a custom server control and would like to embed this page within an iframe in the control. regards, g00fy

        B Offline
        B Offline
        Bradml
        wrote on last edited by
        #3

        have the IFrame call the page.

        Brad Australian Save the Glass House (Fill in the complaint form to the ABC) Glass House Home Page (May as well get hooked while you still can)

        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