Display source in ASPX page for a help site

Discussion in 'ASP .Net' started by Shiva Ramani, Apr 4, 2008.

  1. Shiva Ramani

    Shiva Ramani Guest

    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?path=~/aspnet/samples/simple/Inline.src
     
    Shiva Ramani, Apr 4, 2008
    #1
    1. Advertising

  2. 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:...
    >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?path=~/aspnet/samples/simple/Inline.src
    >
     
    Cowboy \(Gregory A. Beamer\), Apr 4, 2008
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Sriram Mallajyosula

    How do I post data from aspx page to another aspx page.

    Sriram Mallajyosula, Nov 5, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    1,012
    Steve C. Orr [MVP, MCSD]
    Nov 5, 2003
  2. Marco Antonio Montalvo Durán
    Replies:
    2
    Views:
    4,181
    Matt Morris
    Jan 23, 2004
  3. John M
    Replies:
    1
    Views:
    1,239
    Kumar Reddi
    May 29, 2005
  4. =?Utf-8?B?Uk1M?=
    Replies:
    1
    Views:
    582
    =?Utf-8?B?QW5keSBMdWtzaWM=?=
    Sep 16, 2005
  5. Progman
    Replies:
    2
    Views:
    1,934
    =?Utf-8?B?UGV0ZXIgQnJvbWJlcmcgW0MjIE1WUF0=?=
    Feb 13, 2006
Loading...

Share This Page