Skip to main content
A newer version of this page is available. .
Tab

UploadControlSharePointSettings Class

Provides account settings allowing the upload control to access a file system retained in the SharePoint cloud storage.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

Declaration

public class UploadControlSharePointSettings :
    UploadControlUploadStorageSettingsBase

The following members accept/return UploadControlSharePointSettings objects:

Library Related API Members
ASP.NET Controls and MVC Extensions ASPxUploadControl.SharePointSettings
ASP.NET MVC Extensions UploadControlBinderSettings.SharePointSettings
UploadControlSettings.SharePointSettings

Remarks

<dx:ASPxUploadControl ID="UploadControl" >
    <SharePointSettings 
        AccountName="UploadOneDriveAccount" 
        TokenEndpoint="https://login.microsoftonline.com/46ec2686-1c80-4e0a-81de-57aec8e4672f/oauth2/token" 
        RedirectUri="http://localhost"
        SiteName="ASPNETDemo" 
        SiteHostName="aspnetteam.sharepoint.com" 
        UploadFolder="UploadedFiles" />
    //...
</dx:ASPxUploadControl>

Online Demo

See Also