aspnet-devexpress-dot-web-b9784d6d.md
Contains settings that allow you to connect the Upload Control to Dropbox.
Namespace : DevExpress.Web
Assembly : DevExpress.Web.v25.2.dll
NuGet Package : DevExpress.Web
public class UploadControlDropboxSettings :
UploadControlUploadStorageSettingsBase
Public Class UploadControlDropboxSettings
Inherits UploadControlUploadStorageSettingsBase
The following members return UploadControlDropboxSettings objects:
| Library | Related API Members |
|---|---|
| ASP.NET Web Forms Controls | ASPxHtmlEditorUploadSettingsBase.DropboxSettings |
| ASPxUploadControl.DropboxSettings | |
| ASP.NET MVC Extensions | HtmlEditorFileSaveSettings.DropboxSettings |
| UploadControlBinderSettings.DropboxSettings | |
| UploadControlSettings.DropboxSettings |
Follow the steps below to connect the Upload Control to Dropbox:
Dropbox.The following example demonstrates how to connect the Upload Control to Dropbox:
void Application_Start(object sender, EventArgs e) {
DevExpress.Web.AccountManager.RegisterDropbox("YourDropboxAccount","YourAccessTokenValue","YourMemberID");
}
<dx:ASPxUploadControl ID="UploadControl" runat="server" UploadStorage="Dropbox" ShowUploadButton="True" >
<DropboxSettings AccountName="YourDropboxAccount" />
</dx:ASPxUploadControl>
Once the Upload Control uploads a file to cloud storage, you can use the key name of this file to access it. To obtain a file key name, use the FileNameInStorage property of an UploadedFile object.
Object StateManager PropertiesBase UploadControlUploadStorageSettingsBase UploadControlDropboxSettings
See Also
Cloud Storage Account Management