How To Build Efficient Widget Container Using Ajax

Building Efficient Widget Container Using Ajax has some of the most amazing feature that you cannot find in most websites: a widget container. Any HTML code that you have could be easily loaded through the container provided by Although there are already tons of widgets in their website, you can easily create one of your own.

For example, the embed code in could easily be applied in the codes that you have. Codes that could be integrated in such as simple casual games could also be applied in the widget container. As a developer, you can also offer a widget container in your website so that users could upload an application through an embedded code from a different website.

A widget container is placed inside an update panel. The widget container has two basic parts: the body and the header. The header in the widget is the consistent component while the body is the actual container of the application.

The header serves as the update panel controller with server while the body serves as the ground where the application will be implemented.

To build an efficient container, the three components that you need to consider is the header, updatepanel and the body. Others follow through the coding of the widget.

Unfortunately, an Ajax based widget is not a perfect code as it is. When you consider the header, updatepanel and body alone, the first problem you will experience is the extender. These are the HTML elements found inside the code that determines the physical size of the application uploaded in the container.

The updatepanel refreshes the header and the body but it removes the HTML documents in the body. What then happens is the application is resized and could not fit in the widget container. A trick has to be done so that the extender will be retained to keep the size and behavior of the application.

Continue Reading the Tutorial Here

No comments: