Gaia Earth

Draggable Ajax Panel Control

This example is actually an example of creating an Ajax Extension Control in Gaia. The example shows how you can yourself inherit from the Gaia Ajax Panel class to create your own panel which adds up functionality to the default behaviour. This sample just makes the panel "draggable" or possible to move through Drag and Drop operations. The interesting parts of this code resides in the project called SampleContainerExtension and is included in the download of the Gaia Ajax Widgets. The complete code of this "extension control" is about 115 lines of code! And it can of course be added to the toolbox just like a normal WebControl project could be. Also as you can see it's a fully fledged container widget and can contain child controls just like a normal ASP.NET Panel or a Gaia Ajax Panel.

Drag me around on the screen!!
Then choose a DATE