Friends,
I have below code in Winform for saving file , Is there anything available for web related to this?
using (SaveFileDialog saveFileDialog1 = new SaveFileDialog())
{
saveFileDialog1.InitialDirectory = @"C:\";
saveFileDialog1.Title = "Save Mail Content";
saveFileDialog1.AddExtension=true;
saveFileDialog1.CheckFileExists = false;
saveFileDialog1.CheckPathExists = true;
saveFileDialog1.DefaultExt = "html";
saveFileDialog1.Filter = "Html File (*.html)|*.html;*.htm|Text File (*.txt)|*.txt";
saveFileDialog1.FilterIndex = 2;
saveFileDialog1.RestoreDirectory = true;
if (saveFileDialog1.ShowDialog() == DialogResult.OK)
{
string fileName = saveFileDialog1.FileName;
...
Go to the complete details ...