Initializes a new instance of the SetFocusEvent class.

Namespace:  EPiServer.ClientScript.Events
Assembly:  EPiServer (in EPiServer.dll) Version: 5.2.375.236

Syntax

C#
public SetFocusEvent(
	EventType eventType,
	string controlId,
	bool focus,
	bool select
)

Parameters

eventType
Type: EPiServer.ClientScript..::.EventType
The client side event when the focus occurs
controlId
Type: System..::.String
Client side id of the control to focus
focus
Type: System..::.Boolean
if set to true the control will be focused
select
Type: System..::.Boolean
if set to true the control text will be selected

See Also