Intersoft WebDesktop Documentation
Handling Client Side Events
See Also Send Feedback
Intersoft WebDesktop > WebExplorerPane > Tutorials > Handling Client Side Events

Glossary Item Box

Objective

WebExplorerPane has a capability to handle some ClientSide Events. This tutorial will show the list of ClientSide Events available and how to invoke them respectively.

  1. Refer to Creating Simple ExplorerPane to create a basic ExplorerPane.
  2. Open WebExplorerPane Property Window.
  3. At ClientSideEvent Category, fill all the EventHandler like following



  4. Create JavaScript function that corresponds to each EventHandler
    Script Copy Code
    <script type ="text/javascript">

    function onAfterCollapse()

    {

    alert(
    "After Collapse");

    }

    function onAfterExpand()

    {

    alert(
    "After Expand");

    }




    function
    onBeforeCollapse()

    {

    alert(
    "Before Collapse");

    }




    function
    onBeforeExpand()

    {

    alert("Before Expand");

    }
    function onClientUnload()

    {

    alert("Client Unload");

    }
    function onInitialize()

    {

    alert("Initializing");

    }
    function onPaneHeaderClick()

    {

    alert("Pane's Header is clicked");

    }
    function onPaneItemClick()

    {

    alert("Pane's Item is clicked");

    }










    </script
    >
     
    

See Also

© 2012 Intersoft Solutions Corp. All Rights Reserved.