I have some questions about the roots inside the SaveFileDialog:
Thanks in advance!
Sergio
Has there been an update to this?
Wisej.Web.SaveFileDialog dialog = new Wisej.Web.SaveFileDialog();
dialog.Roots.Add(new FileSystemProvider(Application.Session[“GlobalProperties.DataFileLocation”] + “Project”, “Project”));
dialog.InitialDirectory = Application.Session[“GlobalProperties.DataFileLocation”] + “Project”;
DialogResult result = dialog.ShowDialog();
No existing files are displayed
__
If we do this:
Wisej.Web.SaveFileDialog dialog = new Wisej.Web.SaveFileDialog();
dialog.Roots.Add(new FileSystemProvider(“./”, “Main_Directory”));
DialogResult result = dialog.ShowDialog();
And the user navigates to the Project folder, then the files in the Project folder are displayed.
__
We do not want users to be able to navigate outside of the Project folder, but we want to display the contents of the Project folder when the dialog is displayed.
Hi Sergio,
To answer your questions:
HTH,
Alaa
Please login first to submit.