다음을 통해 공유


TenantSetHostUrlDialog.OkButton_Click Method

Handles the Click event of the OkButton control.

Namespace:  Microsoft.SharePoint.Portal.WebControls
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
Protected Sub OkButton_Click ( _
    sender As Object, _
    e As EventArgs _
)
'Usage
Dim sender As Object
Dim e As EventArgs

Me.OkButton_Click(sender, e)
protected void OkButton_Click(
    Object sender,
    EventArgs e
)

Parameters

Remarks

This method validates whether the URL entered in TxtProfilePageHostUrl is valid, and sets the host site URL to the ProfilePageHostUrl property if the ChkBoxEnableProfileCreation is selected; otherwise, the host site URL is set to an empty string.

The method registers a startup script that is used to close the dialog.

See Also

Reference

TenantSetHostUrlDialog Class

TenantSetHostUrlDialog Members

Microsoft.SharePoint.Portal.WebControls Namespace