All docs
V21.2
21.2
21.1
20.2
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.
Tab

UploadControlSharePointSettings.SiteHostName Property

Specifies a host name where a SharePoint site is located.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v21.2.dll

Declaration

[DefaultValue("")]
public string SiteHostName { get; set; }

Property Value

Type Default Description
String

String.Empty

The host name where a SharePoint site is located.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to SiteHostName
ASP.NET Bootstrap Controls BootstrapUploadControl
.SharePointSettings.SiteHostName
ASP.NET MVC Extensions UploadControlBinderSettings
.SharePointSettings.SiteHostName
MVCxUploadControl
.SharePointSettings.SiteHostName
UploadControlSettings
.SharePointSettings.SiteHostName
ASP.NET Web Forms Controls ASPxHtmlEditorUploadControl
.SharePointSettings.SiteHostName
ASPxUploadControl
.SharePointSettings.SiteHostName

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