Intersoft WebDesktop Documentation
Working with ClientSide Events
Send Feedback
Intersoft WebDesktop > WebDesktopManager > Working with ClientSide Events

Glossary Item Box

Introduction

One of WebDesktop's most powerful features is the ability to accommodate a broad range of scenarios through its extendable capability using client-side events. In this section, we will see how we can attach a client-side event handler to the event using the Client-side Event Editor.

Assuming that you have already created the shortcut icon and you want to perform other tasks after the shortcut is created, the steps needed are as following:

  1. Switch to design view of the page and right-click on the WebDesktopManager, then select Properties.
  2. In the Properties tab, expand ClientSideEvents node.

  3. Find the OnShortcutCreated event and click the drop down arrow. In the drop down list you will see an item 'Add New Handler - WebDesktopManager1_OnShortcutCreated_1(controlId, shortcut)' and/or other event handler names if the page has already contained other client-side event handlers.
  4. Click on the 'Add New Handler...' item. The page will then automatically switch to HTML view and the event handler will be automatically added in the page.

© 2012 Intersoft Solutions Corp. All Rights Reserved.