hi for all
I got a problem when i try to generate a word template
first i added a folder i named it as in picture
after that i added page called downloadfile to appear as popup
inside this page i added this statement
string newfilename = "Template/" + Request.QueryString["FileName"].ToString();
Response.Redirect(newfilename);
and in my target page i added this code
string templatePath = Server.MapPath(@"Template\New Templates\new.docx");
string docName = "GenerateTemplate" + Guid.NewGuid().ToString() + ".docx";
string newFilePath = Server.MapPath(@"Template\" + docName);
Dictionary<string, string> bookMarksAndValues = new Dictionary<string, string>();
bookMarksAndValues.A ...
Go to the complete details ...