LogonSelector.OnPreRender Method
Raises the PreRender() event.
Namespace: Microsoft.SharePoint.IdentityModel
Assembly: Microsoft.SharePoint.IdentityModel (in Microsoft.SharePoint.IdentityModel.dll)
Syntax
'Declaration
Protected Overrides Sub OnPreRender ( _
e As EventArgs _
)
'Usage
Dim e As EventArgs
Me.OnPreRender(e)
protected override void OnPreRender(
EventArgs e
)
Parameters
e
Type: System.EventArgsThe data for the event.
Remarks
This method creates its list of providers from the claims authentication providers configured in the Internet Information Services (IIS) authentication settings.
This method sets the AutoPostBack property to true to cause the LogonSelector control to force an immediate post to the server if the user changes the list selection.
This method hides the LogonSelector control if the collection of the claims authentication providers is empty.