Upload files without invoking file dialog

Mar 17, 2011 at 1:14 PM


Please tell if i could use Interlink upload control without invoking file dialog. i would like to dynamically specify a bunch of files. please tell how can i accomplish this. thanks.



Omer Javed

Mar 17, 2011 at 8:01 PM

You can pass in a list of files that are selected prior to showing the dialog, but the dialog pops up to show the user the progress and the result of the operation.

public void UploadFiles(List<FileInfo> files)
	var dialog = new UploadFileDialog();
	dialog.AllowMultiselect = false;
	dialog.AllowNewUpload = false;
	dialog.AutoClose = true;
	dialog.AutoUpload = true;
	dialog.AllowFileOverwrite = false;