Response.AddHeader("Content-disposition", "attachment; filename=" + FileName + ".xml"); Response.ContentType = "application/xml"; Response.Write(FileContent);
The problem is something like when am clicking the button in the main page the dialog window asking whether to Open, Save or Cancel is popping out, if am giving Open then the particular Xml file is been opened in the same page. I do want to open this particular Xml file in another blank window. Is this possible? If possible how can I do that?
Thanks in Advance.