Display source in ASPX page for a help site

Display source in ASPX page for a help site

am 04.04.2008 08:24:01 von ShivaRamani

I am creating a .NET help website where I would allow the user to select
(using link) a cs/aspx/xml/xsl file to be opened up & shown in web browser. I
should allow the user to see the contents as we do in the VS IDE (with color,
fonts & properly indented) in the opened browser.
This is like the functionality that is being implemented in
http://quickstart.asp.net where the path of the src file is being passed as
query string like below when we click on View Source for certain examples
http://quickstarts.asp.net/QuickStartv20/util/srcview.aspx?p ath=~/aspnet/samples/simple/Inline.src

Re: Display source in ASPX page for a help site

am 04.04.2008 16:43:47 von NoSpamMgbworld

You have the code for the QuickStarts on your own box if you installed the
full 2.0 SDK, so you have the option of "borrowing" that code for your
application.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://gregorybeamer.spaces.live.com/lists/feed.rss

or just read it:
http://gregorybeamer.spaces.live.com/

*************************************************
| Think outside the box!
|
*************************************************
"Shiva Ramani" wrote in message
news:C672C4C3-0FA9-47F3-8D76-FB215C6E9A6B@microsoft.com...
>I am creating a .NET help website where I would allow the user to select
> (using link) a cs/aspx/xml/xsl file to be opened up & shown in web
> browser. I
> should allow the user to see the contents as we do in the VS IDE (with
> color,
> fonts & properly indented) in the opened browser.
> This is like the functionality that is being implemented in
> http://quickstart.asp.net where the path of the src file is being passed
> as
> query string like below when we click on View Source for certain examples
> http://quickstarts.asp.net/QuickStartv20/util/srcview.aspx?p ath=~/aspnet/samples/simple/Inline.src
>