• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 278
  • Last Modified:

open asp.net page as xml

Hello experts.
How do I run a report in asp.net /C# page so that it opens in xml format?
For example is classic asp I used:
Response.ContentType = "application/vnd.ms-excel"
At the top of the page to have it opened as xml,
Is the same technique possible in asp.net with asp.net webcontrols?
Or do I have to use old HTML controls?
Thank you.
1 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now