Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

Affordable ASP.NET Hosting Service
  Ads  
Iron Speed Designer is a software development tool for building database, reporting, and forms applications for .NET without hand-coding.
 


  Sponsors  

Meet Our Sponsors

SteadyRain
DataSprings - Great Ideas. Always Flowing.
R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
SmarterTools
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  loading module content with AJAX?
Previous Previous
 
Next Next
New Post 6/9/2008 9:41 PM
User is offline Mark Hollas
200 posts
www.cambridgeeikaiwaschool.com
9th Ranked


loading module content with AJAX? 

Sorry if this is out of the scope of this forum but I would appreciate the help on this.

I am not very familiar with the workings of AJAX but I would like to know if the following can be accomplished.

I am working on a module workflow that is a link that loads content thumbnails specific to that user. We can do this quite easily using a 'ctl' parameter but that would open a page with no only the modules content correct?

What I would rather see happen is that the module loads the thumbnails within the module bounds on the page it resides. I know AJAX is ment for loading content without pageback so could this be done?

Thanks in advance for the help

Mark

 
New Post 6/10/2008 7:08 AM
User is offline Rafe Kemmis
77 posts
www.kemmis.info/blog/
10th Ranked


Re: loading module content with AJAX? 

Mark, I would check out the intro videos on asp.net ajax here: http://www.asp.net/learn/ajax-videos/

They give a pretty good overview of how to use an update panel, and they also introduce you to some of the controls in the asp.net ajax control toolkit.

 

 
New Post 6/10/2008 9:15 AM
User is offline Golden Snitch
32 posts
10th Ranked


Re: loading module content with AJAX? 

Don't navigate to other module controls using EditURL (aka the ctl query string parameter).  Either do everything in one control (using AJAX or not) or do something like the Events module does and loads the module controls into the "main" control based on it's own criteria.  See Events.ascx.vb in the Event module source code for most of the code that does this.

 
New Post 6/11/2008 6:04 PM
User is offline Snoek8
52 posts
www.mexmax-internet.com
10th Ranked


Re: loading module content with AJAX? 

You say you would like to use Ajax so I am presuming the data loading occurs after a user action like clicking a button. In that case you do not need to know anything about Ajax to make it happen in Dotnetnuke. Make sure the control does not do a redirect when the button is clicked but that it performs a postback. Then just go to the ModuleDefinition for your module and edit it´s View control. There you select "Supports partial rendering". What this does is place the entire content of your module inside an Ajax update panel. All controls that do a postback will now perform an Ajax call and your results are loaded without reloading the entire page.

Stephan
http://www.mexmax-internet.com  

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  loading module content with AJAX?
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Perpetual Motion Interactive Systems Inc.
A solutions company specializing in Microsoft enterprise technologies.
www.perpetualmotion.ca
Icthus Technologies
Building Faith on the Internet
www.icthustech.com
Efficion Consulting
A premier DotNetNuke consulting firm providing complete DNN services including: custom module development, skinning and design, installation and integration services.
www.efficionconsulting.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP