Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Handles the ServerValidate event of the HostUrlValidator control.
Namespace: Microsoft.SharePoint.Portal.WebControls
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
Protected Sub ValidateHostUrl ( _
sender As Object, _
e As ServerValidateEventArgs _
)
'Usage
Dim sender As Object
Dim e As ServerValidateEventArgs
Me.ValidateHostUrl(sender, e)
protected void ValidateHostUrl(
Object sender,
ServerValidateEventArgs e
)
Parameters
- sender
Type: System.Object
The source of the event.
- e
Type: System.Web.UI.WebControls.ServerValidateEventArgs
The data for the event.
Remarks
The method validates whether the URL entered for the site hosting the external content pages is a valid URL, and whether the host site exists.