Purchase
Download
Samples Home
Download
<< back to ajaxwidgets.com
Start Here
Dynamic Ajax Image
Ajax GridView
Ajax TreeView
Ajax Menu
Ajax Resizable Chart
Ajax Visual Effects
Ajax FishEye
Ajax Shopping Cart
Ajax Live Scroll
Ajax Slider
Ajax Label
Ajax TextBox
Advanced Samples
Complex Ajax Controls Mixed
Ajax DataGrids and Windows - 100 ways to read Ajaxian.com
Ajax Windows (Pageflakes)
Ajax Viewport
Ajax WYSIWYG Rich Editor
Ajax Accordion
Ajax Calendar Application
Ajax Chat Client
Flexible Ajax DataGrid (Using Repeater)
Ajax Mashup I: Google Maps
Ajax Mashup II: Yahoo Search
Ajax Menu II
Create your own Logo
Ajax Mortgage Calculator
Ajax Window - Vista Skin
Ajax Wizard Control
More Samples
Beautiful Ajax with Gaia
Ajax AutoCompleter
Ajax TabControl
Ajax UpdateProgress Control with Gaia
Gaia Ajax Container Extension Control
Custom Ajax Controls (Extend Gaia)
Ajax Methods
Ajax Timer
Ajax Window
Ajax Window II (Advanced)
Ajax DateTimePicker
Ajax Buttons
Ajax CheckBoxes
Ajax CheckBoxList
Ajax DropDownList
Related Ajax DropDownLists
Ajax HiddenFields
Ajax Images
Ajax ImageButtons
Ajax InPlaceEdit
Ajax LinkButtons
Ajax ListBoxes
Ajax MultiView
Ajax Panel
Ajax Panel II (Advanced)
Ajax PlaceHolders
Ajax RadioButton
Ajax RadioButtonLists
Ajax Repeater
Ajax Widgets in Web User Controls
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