Recently Viewed...
DNN Modules
   

PowerDNN

    |   Register   |   Sunday, March 14, 2010   
You are here:Resources  Articles & Information  AJAX w/ DotNetNuke  


Implementing AJAX within DotNetNuke

 

Ready for AJAX within your DotNetNuke Portal?

Overview of AJAX

Ajax which stands for Asynchronous JavaScript and XML is a programming technique that has become quite popular recently in website development.  Its popularity is mostly due to the rich user experience that can be provided as with AJAX you can reduce/eliminate page post backs to the web server and only update the content needed.  Some examples of sites that use Ajax are: gmail.com, flickr.com, and live.com. 

 

Microsoft realized early on that Ajax was a technology that would become very popular so in September of 2005 they released their first Community Technology Preview (CTP) of the features known as “Atlas”.  “Atlas” was an extension to ASP.NET 2.0 that would allow developers to easily create rich, interactive websites that take advantage of the Ajax technologies.  “Atlas” provided a method for developers to quickly implement Ajax technologies without the need to write heavy JavaScript as “Atlas” took care of it for them.  The advantages of this were very easy to realize. In the beginning “Atlas” had a few simple controls that you could use to implement Ajax the most popular was the “Update Panel” control. This control which is still a key component of the now ASP.NET AJAX 1.0 library allows you to wrap a set of server-side controls and they will then use Ajax to report events, rather than doing a complete post back.

 

After the success of the “Atlas” CTP program and the Beta and Release Candidate versions Microsoft officially launched ASP.NET Ajax.  This is now the current package that is available and it provides the foundation for all ASP.NET Ajax implementations.  Since the release of version 1.0 Microsoft has also released a toolkit called “ASP.NET Ajax Control Toolkit” which is a further extension of the ASP.NET Ajax 1.0 framework.  The control toolkit provides you with additional controls that help accomplish advanced user interface actions.  Some examples include: Modal Popup, Minimizing Panels, and many other controls. 

 

AJAX Toolkit Controls

The controls contained within the toolkit are simple server side controls that automatically generate and insert the needed scripting to accomplish their rich client-side display.  This allows developers to simply drag-and-drop controls to a page and allows them to focus on the function/content of a website rather than the specifics of client-side JavaScript implementation. 

 

AJAX within DotNetNuke

The good news for DotNetNuke developers is that Microsoft made it easy for you to use the framework and toolkit and DotNetNuke made it even easier to use in your modules.  When DotNetNuke 4.5.0 was released on April 6th 2007, support was built in for ASP.NET Ajax allowing developers to quickly use the tools within their modules.  DotNetNuke provides two different methods to implement Ajax in your module; automatic wrapping of a module in an “Update Panel” control, or module specific Ajax implementation.

 

The first method of DotNetNuke Ajax implementation is very simple.  If you have a control within a created module you can simply modify the module definition for that control and select the “Supports Partial Rendering” option.  For an example below we will walk through the steps necessary to enable partial rendering for the “Documents” module settings page.

 

  1. Login to your DNN site as the host
  2. Select “Module Definitions’ from the “Host” menu
  3. Select “Edit” next to the “Documents” module
  4. Scroll to the bottom of the next page and select “Edit” next to “Settings”
  5. Place a checkbox in the “Supports Partial Rendering?” checkbox then click update
  6. Now, if you view the “Settings” page for the documents module you will notice that when clicking on various items that the changes will simply occur and there is no page flicker or need to re-scroll to your previous location 

This method allows you to quickly implement Ajax for your module; however, it has its limitations that might not allow your control to function correctly.  To help provide more robust features DotNetNuke has provided various Ajax specific methods to allow you to have granular control over your module and what controls will use Ajax and which will use the standard post back methods.

 

The second article in this series will discuss the creation of a module that uses controls from the toolkit and the DNN specific Ajax implementation methods.

Feedback Comments
Records per Page
Page 1 of 1First   Previous   Next   Last   
Audy         9/24/2009 4:59:39 PM
Thank you Thanx alot, i'm new in dotnetnuke and it is helps alot for AJAX, salute! Submitted By: Audy

almny.com         5/12/2009 5:01:27 AM
old way thanks man before i useed this way http://www.datasprings.com/Resources/ArticlesInformation/DotNetNukewAJAXToolkit/tabid/816/language/en-US/Default.aspx thanks for this post it's realy benefit Submitted By: almny.com

         3/20/2008 2:13:25 AM
DNN using AJAX To implement Tab control in DNN

Feedback





Enter the code shown above in the box below
Send

 
Page Tags
DNN Modules
SnowCovered Top Sellers

Ultra Media Gallery is the most popular photo gallery and media gallery solution for DotNetNuke, UMG offers 10 different flash player to browse your gallery with completely different user interface experience.

Powerful, Ajax Enabled, Easy to Use. Document Management and Multimedia gallery functionality in one.Open-DocumentLibrary allows DotNetNuke users to organize share and manage documents, offering granular control over Folder and Document access.

Active Social is customizable social networking solution that fits the needs of a large company, small group, start-up business, or any size interest group. Connect with co-workers, people with similar interests, family, old friends, or meet new ones. Active Social provides a complete communication

Frustrated over the lack of customization for your user's registration fields? Dynamically setup your DNN Portal with custom registration fields, layout, questions, and other core integration options......

In this day and age, knowing as much detailed information as possible about your customer, prospect or web site user is essential. Thankfully, the new 'Dynamics Forms' module from Data Springs, makes it easier than ever to segment your data collection efforts.

Ultra Video Gallery is a brother product of Ultra Media Gallery, UVG allows you to upload videos in various format and automatically encode them to flv or H264 format, you also can add videos from internet and play them in our integrated flash video player.

One stop solution for events calendar and events registration! FREE DOWNLOAD is available now!

The amazing ANY COLOUR Flex2 skin + our unique EasyMod module allowing you to customise just about everything in this skin. DrNuke just re-wrote the rule book again.

The Future of Enterprise Search for DotNetNuke 3.x and 4.xOpen-SearchEngine provides DotNetNuke with a true enterprise search engine capable of indexing html content as well as documents from multiple sites and/or physical directories.

Capture your users attention, enrich your site with multimedia flash, and create and opt in distribution list for your DNN site. These are just a few of the many features the Data Springs Module Collection can provide you.

Data Springs DNN Modules

Data Springs offers cost-saving packages that fit your needs:

View Dynamic Registration 2.4 Enterprise Edition

Data Springs Collection 3.0 (23 Modules!)

Capture your users attention, customize your registration and set up various forms.  Enrich your site with animation then create email distribution lists for your DNN site.  Just a few of the many features you get with the Data Springs Module Collection!  .....more

Best Value!  All the modules in the Collection sum up to more than $2000.00!

 

$ 479.00

Data Springs User Management Suite

Take hold of all the tools you need to enhance user & profile management from A to Z!.  A comprehensive package with 5 feature-packed modules that offer extensive admin controls and easy user interface geared towards an effective and growth-oriented site!  .....more

 

Includes:  Dynamic Registration     Dynamic Login   ♦   Interactive User Import     Dynamic User Directory   ♦   Renewal Reminder    A value of more than $630.00!

 $ 339.00




 

 

Check out all our individual modules!

 

 View Dynamic Registration 2.4 Enterprise Edition

 Dynamic Registration 4.0

Frustrated over the lack of customization for your user's registration fields? Dynamically setup your DNN Portal with custom registration fields, layout, questions, and other core integration options.........more

$ 169.00
 View Dynamic Forms 2.2 - Enterprise Edition

Dynamic Forms 3.3

Whether it's for marketing, sales, contact forms, scheduling, information requests, surveys, or to simply better understand your customer needs, the possibilities for creating powerfully effective forms are now easy and endless! .....more

$ 149.99
 Dynamic Login Module for DNN

Dynamic Login 3.1

The content on your site isn’t vanilla, so why is your portals login? The user login page is used by every user registered in your portal, but yet once they sign in they go to the exact same page? Customize your portal with Dynamic Login to offer additional features and enhancements during the login.   .....more

 

$ 114.99
 View Dynamic Registration 2.4 Enterprise Edition

 Interactive User Import 2.0

Interactive User Import provides you with the functionality to easily and quickly import users into DotNetNuke and Dynamic Registration, through a streamlined and well-documented wizard that includes many advanced features........more

 

$ 119.99
 View Dynamic User Directory v2.0 Enterprise Edition

 Dynamic User Directory 3.0

The perfect compliment for extending your portals users and community! An essential ingredient for managing dynamic user information, is being able to sort key fields and create useful user directories and custom report information. ...more

$ 139.00
 View Renewal Reminder

 Renewal Reminder

Renewal Reminder provides you with the functionality to setup email notifications for users that their security role will soon expire. After installing your renewal / security role reminder module you can now setup scheduled notifications to be distributed to your users  .....more

 

$ 89.99
 Opt In Email

 Opt In Email 4.2

'Relationship Building' and 'Communication' are two essential nuts and bolts for a business to prosper. This module allows you to bridge both of these and easily generate continuous awareness of your web site, products and services. Your prospects and customers will greatly appreciate this feature ...more

 

$ 135.00
 View Tailored Text v2.0 Enterprise Edition

 Tailored Text 2.2

Personalization allows you to go the extra mile in communicating or connecting one to one with your clients. When it comes to technology and web site content, you now have the power to leverage this personalization directly with your users on your DotNetNuke site. ..more

$ 109.99
 View Stock Quote - Enterprise Edition

 Stock Quote 1.2 

Giving your site visitors relevant information is critical. With the Data Springs Stock Module you can provide your users with up to date financial information....more

 

$ 109.99
 View Presentation Archive 1.0 Enterprise Edition

 Presentation Archive 2.0

With so much content on your web site, its important to give users an easy method for finding and retrieving content. Presentation Archive allows you to categorize, organize and present content within your DotNetNuke site for presentations, educational material, videos, and almost any document.  ...more

 

$ 124.99
 View Real Estate 2.0 Enterprise Edition

 Real Estate 2.3

Real Estate 2.3 is a feature rich and user-friendly module that allows your portal users the ability to create real estate listings on your site....more

$ 149.99
 Flash Image Rotator

 Dynamic Image Rotator

Dynamic Image Rotator displays selected images and then rotates between the images using the Adobe® Flash® platform.  Several extended and optional features allow you to select the time to rotate each image, fade between images, and also display the images in either sequental or random order...more

 

$ 39.99
 View Info Pics Gallery Enterprise Edition

 Info Pics Gallery 

The Info Pics Gallery Module allows you to display thumbnail pictures with information to the user about each picture, along with a detailed description regarding the set of pictures and several other optional links. ...more

 $ 69.99
 DotNetNuke Testimonials Module

 Testimonials

The Testimonials Module allows you to display customer testimonials on your site, as well as an easy method for users to submit testimonials about your web site, services, or products....more

 $ 49.99
 View Flash Info Cube

 Dynamic Info Cube

Take your web site out of the box! Looking for a creative and interesting way to showcase information and content on your site? With millions of web sites offering information you need a fun way to display information and the solution is Dynamic Info Cube...more

 

$ 69.99
 Search Engine Optimization Cloud Module for DotNetNuke

 Dynamic Tags

Nearly every web site developer would agree that search engine optimization is one of key aspects to a successful web site. Part of search engine optimization requires providing search engines that crawl your web site with appropriate and meaningful content......more

 

$ 69.99
 Google Grabber SEO Module for DotnetNuke

 Page Tags

'Page Tags' pulls in search terms that users searched to find the current page. There are many benefits to displaying these search words that delivered the user to the site, find our more details .......more

$ 59.99
 Random Image Module for DNN

 Random Rounded Images

Random Rounded Images is an easy to use upgraded version of the images module included with DNN. With RRI, you can select multiple images to display randomly when the module loads. For example, you can add 10 images to the module, and each time you refresh or load the page one of those images will...more

 

$ 49.99
 View Back on Track Enterprise Edition

 Back On Track 2.1

Giving your site visitors fast access to areas of interest is vital to your web site's ease of use and ultimately - sales potential. ...more

$ 79.99
 

 Dynamic News Ticker

Dynamic News Ticker allows you to scroll through news items in a horizontal or veritical direction with administrative features that allow you to easily customize the look of your news ticker. Each instance of Dynamic News Ticker can be set up to have different sizes, scroll directions, scroll speed .....more

 

$ 39.00
 View Quick Poll - no license restrictions

 Quick Poll 

Give your users a voice, while also providing an important way for you to gather opinions from your users and measure visitors' responses to questions on your site! Polls are significant because they can provide a way for your web site visitors to share ideas and vote on topics of your choosing...more

 

$ 39.99
 View Flash Contacts Enterprise Edition

 Dynamic Contacts 2.0

Dynamic Contacts is the fastest and easiest way you can help visitors of your website connect with your key personnel. Going beyond an ordinary directory search, Dynamic Contacts quickly adds a personal touch, giving customers a face-to-face feeling - a key sales ingredient to building strong client/cu...more

 

$ 79.99
     

 

 

Copyright 2005 - 2010 by Data Springs, Inc.
Contact Us | Terms Of Use | Privacy Statement