SearchBoxEx.OnInit method

detect the browser setting. Prepare the Ids Fetch the variables from url if they exist. We look for 'k' 's' 'cs' 'rs' and 'u' in Url

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

Syntax

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

Me.OnInit(sender, e)
protected override void OnInit(
    Object sender,
    EventArgs e
)

Parameters

  • e
    Type: System.EventArgs

    A System.EventArgs object that contains the event data.

See also

Reference

SearchBoxEx class

SearchBoxEx members

Microsoft.SharePoint.Portal.WebControls namespace