okay what you probably want to do then is have aspx page and when the
page_load event fires you need to call Response.Write(<FILENAME>).
some thing like this:
private void Page_Load(object sender, System.EventArgs e)
{
Response.Clear();
Response.ContentType = "text/xml";
Response.WriteFile("c:\\test.xml");
}
Remember not to have any HTML in the aspx page or the browser will not be
able to render the XML.
HTH
Ollie Riches
"VMI" <vo******@yahoo.com> wrote in message
news:%2***************@TK2MSFTNGP11.phx.gbl...
thanks . that worked.
The only limitation is that the XML file needs to be somewhere that can be
accessed thorugh http (ie. http://myPC/file.xml). It doesn't seem to work
if I try to open it using the physical directory (ie. c:\ADir\file.xml) .
How come?
Thanks.
"Ollie Riches" <ol**********@phoneanalyser.net> wrote in message
news:el**************@TK2MSFTNGP15.phx.gbl... you want to create a popup window and get the child window to open the
xml file.
check out:
http://www.dotnetjohn.com/articles.aspx?articleid=88
HTH
Ollie Riches
"VMI" <vo******@yahoo.com> wrote in message
news:ee**************@TK2MSFTNGP15.phx.gbl... In my web app, how can I display an XML file in another browser window?
Can this be done with C#?
Thanks.