ZennoLab Assemblies Documentation
RiseEvent Method (HtmlElement)
Example 

Type: System.String

The name of the event.

Type: System.String

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

The performs the specified event for html element.
Syntax
public void RiseEvent( 
   string eventName,
   string emulation
)

Parameters

eventName

Type: System.String

The name of the event.

emulation

Type: System.String

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

Remarks

The emulation levels:

"Full" - the full emulation which include the generation of all events such as mouseover, mousemove, mouseout, focus on element and other.
"Middle" - the standard emulation level includes a minimum of actions without additional events.
"None" - the default emulation level without additional events and actions.

Example
The following code example demonstrates uses of the RiseEvent method.
// find element
HtmlElement he = instance.GetTabByAddress("page").GetDocumentByAddress("0").FindElementByAttribute("input:checkbox", "fulltag", "input:checkbox", "text", 0);
 
// rise event
he.RiseEvent("onclick", "full");
// find element
$he = $instance->GetTabByAddress("page")->GetDocumentByAddress("0")->FindElementByAttribute("input:checkbox", "fulltag", "input:checkbox", "text", 0);
 
// rise event
$he->RiseEvent("onclick", "full");
Requirements

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

See Also

Reference

HtmlElement Class
HtmlElement Members
SetAttribute Method
SetSelectedItems Method
SetValue Method

Send Feedback