Zennolab.CommandCenter
RiseEvent Method
See Also  Example Send Feedback
Zennolab.CommandCenter Namespace > HtmlElement Class : RiseEvent Method
eventName

Type: System.String

The name of the event.

emulation

Type: System.Boolean

true, if you want to emulate the actions of the user, otherwise false.

Rises event.

Syntax

C# 
public void RiseEvent( 
   string eventName,
   bool emulation
)

Parameters

eventName

Type: System.String

The name of the event.

emulation

Type: System.Boolean

true, if you want to emulate the actions of the user, otherwise false.

Example

The following code example demonstrates uses of the RiseEvent method.
C#Copy Code
HtmlElement he = instance.GetTabByAddress("page").GetDocumentByAddress("0").FindElementByAttribute("input:checkbox", "fulltag", "input:checkbox", "text", 0);
            
he.RiseEvent("OnClick", true);
PHPCopy Code
$he = $instance->GetTabByAddress("page")->GetDocumentByAddress("0")->FindElementByAttribute("input:checkbox", "fulltag", "input:checkbox", "text", 0);
            
$he->RiseEvent("OnClick", true);

Requirements

Target Platforms: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.