Click here to Skip to main content
15,887,376 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionHow to add Databse in App_data folder Pin
rinku soni 2323-Sep-09 3:10
rinku soni 2323-Sep-09 3:10 
AnswerRe: Cross Post : Please Ignore Pin
Abhijit Jana23-Sep-09 3:17
professionalAbhijit Jana23-Sep-09 3:17 
QuestionInstead of http://localhost:3112/ I need to use the Current servername Pin
getaccessyr23-Sep-09 3:09
getaccessyr23-Sep-09 3:09 
AnswerRe: Instead of http://localhost:3112/ I need to use the Current servername Pin
Nisha Agrawal23-Sep-09 3:18
Nisha Agrawal23-Sep-09 3:18 
AnswerRe: Instead of http://localhost:3112/ I need to use the Current servername Pin
Abhijit Jana23-Sep-09 3:19
professionalAbhijit Jana23-Sep-09 3:19 
GeneralRe: Instead of http://localhost:3112/ I need to use the Current servername Pin
getaccessyr23-Sep-09 3:41
getaccessyr23-Sep-09 3:41 
GeneralRe: Instead of http://localhost:3112/ I need to use the Current servername Pin
Abhishek Sur23-Sep-09 10:06
professionalAbhishek Sur23-Sep-09 10:06 
QuestionHow to display xml string on asp.net page [modified] Pin
Calla23-Sep-09 3:08
Calla23-Sep-09 3:08 
Hi,

From a link I open up a popUp window where I want to display an xml, exactly the way for instance IE does when you open an xml document from file (expanded with parents and childs).

In my Page_Load method (in the popUp window) I retrieve the xml string via a web service and then I want it to be displayed. But how?

I tried the following code:
string xmlString = rq.GetErrorTextByID(id); //retrieve the xml from web service - works fine.

XmlDocument doc = new XmlDocument();
doc.LoadXml(xmlString);
doc.Save(Server.MapPath("message.xml"));
Response.Redirect("message.xml");

This works fine, but of course it physically creates the message.xml file on disk and I don't want that. I want the xml to be shown the same way as this code does, but I don't want the file to be created.

This might be a simple task, but I haven't worked with asp.net for that long Hmmm | :| Any ideas/suggestions?

modified on Wednesday, September 23, 2009 10:38 AM

AnswerRe: How to display xml string on asp.net page Pin
Abhishek Sur23-Sep-09 10:17
professionalAbhishek Sur23-Sep-09 10:17 
GeneralRe: How to display xml string on asp.net page Pin
Calla24-Sep-09 20:30
Calla24-Sep-09 20:30 
GeneralRe: How to display xml string on asp.net page Pin
Abhishek Sur25-Sep-09 10:41
professionalAbhishek Sur25-Sep-09 10:41 
Questionspgridview groping Pin
ptvce23-Sep-09 3:02
ptvce23-Sep-09 3:02 
AnswerRe: spgridview groping Pin
Abhijit Jana23-Sep-09 6:49
professionalAbhijit Jana23-Sep-09 6:49 
GeneralRe: spgridview groping Pin
Member 339523123-Sep-09 19:20
Member 339523123-Sep-09 19:20 
Questionunable to retrieve folder information from the server vs 2003 Pin
myms.net23-Sep-09 3:01
myms.net23-Sep-09 3:01 
AnswerRe: unable to retrieve folder information from the server vs 2003 Pin
Abhijit Jana23-Sep-09 3:03
professionalAbhijit Jana23-Sep-09 3:03 
GeneralRe: unable to retrieve folder information from the server vs 2003 Pin
myms.net23-Sep-09 3:23
myms.net23-Sep-09 3:23 
QuestionApp_Data folder Pin
rinku soni 2323-Sep-09 2:50
rinku soni 2323-Sep-09 2:50 
AnswerRe: App_Data folder Pin
Abhijit Jana23-Sep-09 3:02
professionalAbhijit Jana23-Sep-09 3:02 
QuestionUploading a file Pin
dptalt23-Sep-09 2:34
dptalt23-Sep-09 2:34 
AnswerRe: Uploading a file Pin
Manas Bhardwaj23-Sep-09 2:37
professionalManas Bhardwaj23-Sep-09 2:37 
JokeRe: Uploading a file Pin
Abhijit Jana23-Sep-09 2:46
professionalAbhijit Jana23-Sep-09 2:46 
GeneralRe: Uploading a file Pin
Manas Bhardwaj23-Sep-09 3:05
professionalManas Bhardwaj23-Sep-09 3:05 
GeneralRe: Uploading a file Pin
Abhijit Jana23-Sep-09 3:35
professionalAbhijit Jana23-Sep-09 3:35 
GeneralRe: Uploading a file Pin
sashidhar23-Sep-09 6:16
sashidhar23-Sep-09 6:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.