DocIdSearchWebPart.CreateChildControls Method
Creates the child controls that are implemented by the DocIdSearchWebPart
Namespace: Microsoft.Office.Server.WebControls
Assembly: Microsoft.Office.DocumentManagement (in Microsoft.Office.DocumentManagement.dll)
Syntax
'Declaration
Protected Overrides Sub CreateChildControls
'Usage
Me.CreateChildControls()
protected override void CreateChildControls()
Remarks
This override initializes the properties of the search textbox, the search button and the search button image. It also registers the ECMAScript (JavaScript, JScript) block used by the client-side onkeypress function. The onkeypress function then invokes the SearchButtonClick() method, which registers the ECMAScript (JavaScript, JScript) used to validate the document identifier. If the document identifier is invalidated, the override pops up the specific prompt text.