Ask a Question related to ASP.NET General, Design and Development.
-
Marc Hoeppner #1
Re: Writing HTML Page
Hi,
just create an empty ASPX page with no codebehind file. Then place your code
inside the page (inside <% ... %> of course) and use Response.End to stop
processing the page any further.
Best regards,
Marc Höppner
NeoGeo
"Charles Rumbold" <charles.rumbold@dsl.pipex.com> wrote in message
news:OtOluPGUDHA.3700@tk2msftngp13.phx.gbl...> In my app I need to write a complete HTML page. I'm doing it like so
> in PageLoad method
>
> string pageContents = "<HTML> etc etc </HTML>";
> Response.ClearContent();
> Response.ClearHeaders();
> Response.Write( pageContents );
>
> This works fine except that I get 2 pages in the output. The first
> <HTML> tags contain my code, the second pair
> contain what appears to be the standard ASP code.
>
> As I say it works, it just looks odd.
>
> Is there a better way to do this?
>
> Thanks,
> Charles
>
>
>
Marc Hoeppner Guest
-
Writing HTML data to XML
I've been playing around with Phil's tutorial (http://www.macromedia.com/devnet/mx/flash/articles/flashpro_asp.html) and am trying to make a... -
Repost from DW forum - writing HTML on the fly in VBScript?
Folks: I am generating an HTML page on the fly, and was wondering if there is any way to simplify the process? I already have the page built,... -
Writing variables from flash to a html popupwindow
I want to write variables from flash tot a html popup window. I have a script which works, but when you're trying it on a slow pc or running it... -
Writing a listbox value to an html link concatination
Ok, I know this sounds weird, but it's really bugging me. I have a few list boxes on my form (basic pick a month, year, state stuff) and you can... -
writing HTML directly
Try the Literal Control or the PlaceHolder server controls. HTH. Mark www.dovetaildatabases.com "Steve" <steve@mintonweb.com> wrote in... -
Charles Rumbold #2
Re: Writing HTML Page
Marc,
Many thanks - works a treat!
Charles
"Marc Hoeppner" <marchoeppner@hotmail.com> wrote in message
news:u964jeGUDHA.2180@TK2MSFTNGP10.phx.gbl...your code> Hi,
>
> just create an empty ASPX page with no codebehind file. Then placestop> inside the page (inside <% ... %> of course) and use Response.End to> processing the page any further.
>
> Best regards,
>
> Marc Höppner
> NeoGeo
>
Charles Rumbold Guest



Reply With Quote

