while saving the file "Save as Type" in SaveDialogBox shows "MicrosoftExcelSheet" and "AllFiles", how can i restrict "AllFiles" and show only "MicrosoftExcelSheet" ..



Below is code written for opening XLFile. 
HttpContext.Current.Response.Clear();HttpContext.Current.Response.AddHeader("Content-Disposition", "attachment; filename=" + astr_FileName);
HttpContext.Current.Response.AddHeader("Content-Length", abyte_Data.Length.ToString());
HttpContext.Current.Response.ContentType = astr_ContentType; //octet-stream"; or //"application/vnd.ms-excel";

HttpContext.Current.Response.BinaryWrite(abyte_Data);
 
 

Udaya.M
0
udaybdt
2/19/2008 8:55:26 AM
📁 asp.net.getting-started
📃 91979 articles.
⭐ 4 followers.

💬 0 Replies
👁️‍🗨️ 801 Views


Reply: