DotNetNuke Articles
DNN Modules
SnowCovered Top Sellers

Ultra Media Gallery 5.4
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.

Dynamic Forms 2.7
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.

Open-DocumentLibrary v3.0
Powerful, Ajax Enabled, Easy to Use. Document Management has never been better. Open-DocumentLibrary allows DotNetNuke users to share and manage documents in a flexible, intelligent way, offering granular control over Folder and Document access.

Catalyst By DrNuke
The Catalyst skins are professionally designed, coded and packaged by a team of DotNetNuke experts. The skins are available in 12 great colours. This skin is easily customisable with our unique DrNuke EasyMod technology. Try our demo!

XMod 5.1
Version 5 of the perennial best-selling tool for creating data-based solutions in DNN without custom programming. This version focuses on greater flexibility, expandability, and ease-of-use.

Flex By DrNuke
The Flex skins are professionally designed, coded and packaged by a team of DotNetNuke experts. Available in 8 great colours, each with 15 banner images, 2 menu types and a choice of 3 background styles. The entire pack features a total of 2472 skins!

Aero // 32 colors pack // XML-based Flash (v1.4)
aero is a flexible skin pack, featuring 8 incredible base colors, now with a XML-based Flash header.Combine 3 background layouts, 3 widths and 6 headers to create your own, personalized site.Now also in Color Specific Packs in a total of 32 colors!!

Enterprise Forms 4.2
Enterprise Forms is not just your standard form creator module, it is a workflow enabled application providing users, business and developer users a like, the tool to develop form and content management systems. With a workflow enabled back end the possibilities are limited by your imagination.

Ultra Video Gallery 2.4
Ultra Video Gallery is a brother product of Ultra Media Gallery, UVG allows you to add videos in various format and automatically convert them to flv format, you also can add videos from embed code and play them in our integrated flash video player.

TimeXP 2008.03 - A Paperless Timesheet Module
This fully-automated, easy to use, web-based timesheet application allows you to coordinate payroll services, and enables project team members to track time worked on projects.
    |   Register   |   Saturday, October 11, 2008   
You are here:Resources  Articles & Information  AJAX DotNetNuke Module Sample Code  


DotNetNuke w/ AJAX Toolkit Sample Code

Below you can copy and paste the code files from the article, DotNEtNuke w/ AJAX Toolkit.

 

 

Listing One - Place in DemoControl.ascx


    Current Time:


     
   

 

Listing Two - Place in DemoControl.ascx.vb

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        If Not IsPostBack Then
            'Register AJAX components if available
            If DotNetNuke.Framework.AJAX.IsInstalled Then
                'Register the script manager
                DotNetNuke.Framework.AJAX.RegisterScriptManager()

                'Wrap the pnlAjaxUpdate within an update panel with progress control
                DotNetNuke.Framework.AJAX.WrapUpdatePanelControl(Me.pnlAjaxUpdate, True)

                'Register the btnPostbackTimeUpdate button as a postback control
                DotNetNuke.Framework.AJAX.RegisterPostBackControl(Me.btnPostbackTimeUpdate)
            End If
        End If
    End Sub

 

Listing Three - Place in DemoControl.ascx.vb

    Protected Sub ButtonClick(ByVal sender As Object, ByVal e As System.EventArgs) _
        Handles btnAjaxTimeUpdate.Click, btnPostbackTimeUpdate.Click
        'Sleep for 5 seconds to simulate a long running process
        Threading.Thread.Sleep(5000)

        'Update the label
        lblCurrentTime.Text = System.DateTime.Now.ToString()
    End Sub

 

Listing 4 - Place in DemoControl.ascx

Add this to the top:

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>


Add this below the first panel we added

Collapsible Panel Demonstration


    ID="panelExtender"
    runat="server"
    TargetControlID="pnlCollapse"
    CollapsedText="Click to Expand"
    ExpandedText="Click to Collapse" 
    TextLabelID="lblAction"
    CollapseControlID="pnlHeader"
    ExpandControlID="pnlHeader"/>



   



   

The content inside this panel can be expanded or collapsed by using the ASP.NET AJAX Control Toolkit's
    CollapsiblePanelExtender.


   
   

Additional text can be included as well as ANY other desired HTML or ASP.NET server side controls


   
   

This is the last paragraph of example text


 

Data Springs DNN Modules

View Dynamic Registration 2.4 Enterprise Edition

Data Springs Module Collection (20 + Modules!)

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.....more

List Price: $479.99
Price: $349.99
 
View Dynamic Registration 2.4 Enterprise Edition

Dynamic Registration 3.2 

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

List Price: $159.99
Price: $139.99
 
View Opt In Email V2.6 Enterprise Edition
Opt In Email V3.0
'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 featur ...more
List Price: $109.99
Price: $79.99
 
View Dynamic Forms 2.2 - Enterprise Edition
Dynamic Forms 2.7 
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. ...more
List Price: $129.99
Price: $119.99
 
View Tailored Text v2.0 Enterprise Edition
Tailored Text v2.0 
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
List Price: $79.99
Price: $59.99
 
 
View Dynamic User Directory v2.0 Enterprise Edition
Dynamic User Directory v2.4
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
List Price: $129.99
Price: $119.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
List Price: $139.99
Price: $109.99
 
View Presentation Archive 1.0 Enterprise Edition
Presentation Archive  
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 or co...more
List Price: $89.99
Price: $59.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

List Price: $89.99
Price: $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

List Price: $79.99
Price: $59.99
 
View Dynamic Registration 2.4 Enterprise Edition

Interactive User Import

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

List Price: $149.99
Price: $119.99
 
 
View Real Estate 2.0 Enterprise Edition
Real Estate 2.2 
Real Estate 2.0 is a feature rich and user-friendly module that allows your portal users the ability to create real estate listings on your site....more
Price: $149.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
Price: $39.99
View Flash Info Cube

Flash 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 Flash Info Cube...more
List Price: $59.99
Price: $39.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
List Price: $69.99
Price: $49.99
 
View News Ticker Enterprise Edition
News Ticker