Creates a new focus event. When the event is run the element will be focused.

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

Syntax

C#
public SetFocusEvent(
	EventType eventType,
	string controlId
)

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

See Also