Edit this page

Open File Dialog

The RadCloudUpload exposes the CreateOpenFileDialog property. It is of type Func<Microsoft.Win32.OpenFileDialog> and can be used to get or set a custom open file dialog. You can use this property to restrict users to upload certain type of files.

xCloud.CreateOpenFileDialog = () =>
    OpenFileDialog ofd = new OpenFileDialog();
    ofd.Filter = "txt files (.txt)|.txt|All files (.)|.";
    return ofd;

See Also

Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article