open page as xml

Posted on 2005-04-07
Last Modified: 2013-11-25
Hello experts.
How do I run a report in /C# page so that it opens in xml format?
For example is classic asp I used:
Response.ContentType = "application/"
At the top of the page to have it opened as xml,
Is the same technique possible in with webcontrols?
Or do I have to use old HTML controls?
Thank you.
Question by:glowas
    1 Comment
    LVL 12

    Accepted Solution

    I think it's the same in asp .net.
    Any way, the browser will not see those asp .net web controls,
    what they see are just normal html code.
    Only the server know of web controls.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
    International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
    This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA.…
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now