ASP.NET GetWebResourceUrl()
-
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
-
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
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; }
-
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
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)