M
mattg557
Guest
Hello,
Currently, I have a button which extracts fields from the form into a string and saves as a CSV file using Save File Dialog Box. However, this doesn't work in the browser. When I upload the form, I get the error message, "User Interface Options are not supported".
saveFileDialog1.Filter = "CSV files (*.csv)|*.csv|All files (*.*)|*.*";
saveFileDialog1.FilterIndex = 1;
saveFileDialog1.DefaultExt = ".csv";
saveFileDialog1.FileName = filename.ToString();
if (saveFileDialog1.ShowDialog() == DialogResult.OK)
{
System.IO.File.WriteAllText(saveFileDialog1.FileName, temp.ToString());
}
Is there another way to save a string as a CSV file onto a user's local drive?
Continue reading...
Currently, I have a button which extracts fields from the form into a string and saves as a CSV file using Save File Dialog Box. However, this doesn't work in the browser. When I upload the form, I get the error message, "User Interface Options are not supported".
saveFileDialog1.Filter = "CSV files (*.csv)|*.csv|All files (*.*)|*.*";
saveFileDialog1.FilterIndex = 1;
saveFileDialog1.DefaultExt = ".csv";
saveFileDialog1.FileName = filename.ToString();
if (saveFileDialog1.ShowDialog() == DialogResult.OK)
{
System.IO.File.WriteAllText(saveFileDialog1.FileName, temp.ToString());
}
Is there another way to save a string as a CSV file onto a user's local drive?
Continue reading...