AceoffixCtrlJsFunction_OnWordDataRegionClick Property |
Namespace: Aceoffix
This event is triggered when user clicks the DataRegion predefined in Word document.
If you want to capture this event, you should define a JavaScritpt function in the ASPX file of the current page.
In the JavaScript function, you can return a value to set the value of DataRegion.
The following code example shows how to use the JsFunction_OnWordDataRegionClick property.
AceoffixCtrl1.JsFunction_OnWordDataRegionClick = "OnWordDataRegionClick()";
And then, you should define OnWordDataRegionClick() function in ASPX file of the current page.
<script language="javascript" type="text/javascript"> function OnWordDataRegionClick(Name, Value, Left, Bottom) { if (Name == "ACE_N004") { return "Developer can raise a dialog box at here and get the value inputted by user."; } } </script>