Is this possible to set specific zip file to be selected by default in FileManager? I am passing this parameter "~/App_Data/RootFolder1/test.zip"; How to tell FileManager to select test.zip in file manager viewer ? In ~/App_Data/RootFolder1 I have hunderts of zip file and I need to set name of zip file in code. Somethink like this: rootFolder.Location = "~/App_Data/RootFolder1"; rootFolder.Location.SelectedFile = "test.zip"
By reporting abuse, a moderator will be asked to review the content of this interaction to take further action, if necessary.
fileManager.InitialFolder = @"[RootFolderName]:\SomeFolder\test.zip"; fileManager.InitialFolder = FileManagerRootFolder.GetFullPath(rootFolder.Name, @"SomeFolder\test.zip");
Added:FileManager.InitialSelection property.Gets or sets the items (files or subfolders) that should be selected initially.Default is null.If InitialFolder was set, items inside that folder will be selected.When set to null or empty array, no items will be selected initially.
fileManager.InitialSelection = new[] { "test.zip" };
fileManager.InitialFolder = FileManagerRootFolder.GetFullPath(rootFolder.Name, @"Some\Folder"); fileManager.InitialSelection = new[] { "test.zip", "testD.zip" };
Trouble logging in? Simply enter your email address OR username in order to reset your password.
For faster and more reliable delivery, add notify@gleamtech.com to your trusted senders list in your email software.