ZennoLab Assemblies Documentation
RiseEvent Method
See Also  Example Send Feedback
ZennoLab.CommandCenter Assembly > ZennoLab.CommandCenter Namespace > HtmlElement Class : RiseEvent Method
eventName

Type: System.String

The name of the event.

emulation

Type: System.String

The emulation level. May be: "None", "Middle" or "Full".

Glossary Item Box

Rises event.

Syntax

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

Parameters

eventName

Type: System.String

The name of the event.

emulation

Type: System.String

The emulation level. May be: "None", "Middle" or "Full".

Example

The following code example demonstrates uses of the RiseEvent method.
C#Copy Code
// find element
HtmlElement he = instance.GetTabByAddress("page").GetDocumentByAddress("0").FindElementByAttribute("input:checkbox", "fulltag", "input:checkbox", "text", 0);
 
// rise event
he.RiseEvent("OnClick", true);
PHPCopy Code
// find element
$he = $instance->GetTabByAddress("page")->GetDocumentByAddress("0")->FindElementByAttribute("input:checkbox", "fulltag", "input:checkbox", "text", 0);
 
// rise event
$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

© 2013 All Rights Reserved.