Docking Gadgets?

Very exciting times indeed!

I wonder if it is possible for two or more gadgets to be aware of each other. So say for instance I develop 5 gadgets, and one of them is a text search gadget. As soon as I drag my search gadget on top/dock or close to one of my other gadgets, I want to be able to search for text in that specific gadget.

I don’t know where to start, so many questions.

Can a gadget be aware of where it is on a screen

Can a gadget dock to another gadget or can it somehow know it is hovering over another gadget

Communication between gadgets, is a web service maybe the answer

Any ideas would be much appreciated!

Thanks




Answer this question

Docking Gadgets?

  • kirchu

    It must be do-able, read this below (found at http://microsoftgadgets.com/livesdk/docs/default.htm) Wish I had an example though that explains it a bit more in detail

    Normal 3rd-party Gadgets are sandboxed within an iframe for security reasons. Microsoft Gadgets as well as premium partner Gadgets that are hosted on the Live.com domain can have additional functionality because they are not bound within an iframe. These additional functionality include:

    • Ability to programmatically modify Gadget header and footer areas.
    • Ability to read/write cookies on the Live.com domain - this allows your Gadget to leverage on the Passport authentication.
    • Access to the entire page's DOM - this allows you to have Gadget-to-Gadget communication.
    • No security dialog when user adds the Gadget to his or her page.
    • Improved user interface when user drags your Gadget. Contents will remain in the Gadget while being dragged.


  • Docking Gadgets?