Intersoft WebDesktop Documentation
OnActionClick Property
See Also  Example Send Feedback
ISNet.WebUI.WebDesktop Namespace > WebNotificationClientSideEvents Class : OnActionClick Property


Glossary Item Box

The javascript function that will be invoked when user clicks on the Action dropdown button.

Syntax

Visual Basic (Declaration) 
Public Property OnActionClick As String
Visual Basic (Usage)Copy Code
Dim instance As WebNotificationClientSideEvents
Dim value As String
 
instance.OnActionClick = value
 
value = instance.OnActionClick
C# 
public string OnActionClick {get; set;}

Remarks

You can use this property to manipulate the action menu items programmatically at client side.

Example

The following javascript codes is used when you want to create action context menu in WebNotification. The codes is invoked to display the popup window when user click on menu item. To learn more please refer to Using Action Context Menu in See Also section.
JScriptCopy Code
<script language="javascript" type="text/javascript">
        function doClick(mi)
        {
                alert("Clicked : " + mi.Name);
        }
</script>

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2012 Intersoft Solutions Corp. All Rights Reserved.