Show theme settings Shopping cart Download trialFree Trial
Change Theme Settings
Change Theme Settings
Themes
 
Show All Themes
v
...v

Client-Side Events

Clear
Trace Events:

Image Area Settings

This demo illustrates how the ASPxObjectContainer control can programmatically control the associated flash object by sending specific commands to the flash and responding to its feedback. Click the checkboxes in the rightmost panel, or specific countries in the Flash-based interactive map, and see how the corresponding checkboxes and countries are synchronized.

In this demo, when a checkbox is clicked, the corresponding country in the Flash object is specifically highlighted by using the SetVariable method of the ASPxObjectContainer control. This method receives two parameters - the required variable of the flash object and the variable's value. (See JS code, the SelectCountryInFlash function)

When a country in the flash object is clicked, a specific client-side FlashScriptCommand event is raised by the ASPxObjectContainer control. In this event's handler, the corresponding checkbox state is changed based on the e.args parameter value. (See the ASPX code.)

Collapse/Expand
Local Copy of this Demo
To inspect the source code for this demo on your machine, you must first install our components via the DevExpress Component Installer.
You can open a local copy of this online demo directly from this webpage (if using v20.2.8, 21.1.4 or higher).
Open CS Solution
Open VB Solution
The source code files for this demo are installed (by default) in the following directories:
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\ASPxMultiUseControlsDemos
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\VB\ASPxMultiUseControlsDemos