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

Glossary Item Box

Objectives

WebNavPane has some ClientSide Events. This tutorial will show what are the ClientSide Events and how to handle it.

Following are the steps :

  1. Refer to Creating NavPane WithImages to create a simple WebNavPane.
  2. Open WebNavPane Property Window
  3. At ClientSideEvent Category, fill all the EventHandler as follows:



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

    function onBarClick()

    {

    alert(
    "NavBar is Clicked");

    }

    function onBarItemClick()

    {

    alert(
    "NavBar's Item is Click");

    }





    function
    onClientUnload()

    {

    alert(
    "Client Unload");

    }





    function
    onInitialize()

    {

    alert(
    "Initializing");

    }






    function
    onPaneResize()

    {

    alert(
    "Resizing Pane");

    }

    </script>

See Also

© 2012 Intersoft Solutions Corp. All Rights Reserved.