Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Minimum Ajax RequirementsMinimum Ajax Requirements
Previous
 
Next
New Post
6/14/2007 3:36 PM
 

I am developing a new DotNetNuke module that uses Ajax. It occured to me that instead of being able to target only DNN4 modules what I develop may only work on DNN 4.5.2 and above. I read about the new Ajax features in Version 4.5.2. What would be the correct way to proceed here to target as many DNN users as possible?

 
New Post
6/14/2007 4:20 PM
 

if you want your module to run in older dnn versions, you should not include asp.net ajax features. Depending on the ajax features you need, you can use some of the client api features (like labeledit, textsuggest etc). The client api also supports custom callbacks, but it its a bit more work to make it all work together ...


Erik van Ballegoij, Former DNN Corp. Employee and DNN Expert

DNN Blog | Twitter: @erikvb | LinkedIn: Erik van Ballegoij on LinkedIn

 
New Post
6/14/2007 4:22 PM
 

i'd recommend you read shaun's blog @ http://www.dotnetnuke.com/Community/Blogs/tabid/825/EntryID/1410/Default.aspx and a number of Michael's ajax entries @ http://www.dotnetnuke.com/Community/Blogs/tabid/825/BlogID/77/Default.aspx for advice on creating ajax modules. Also, i'd recommend you look into using the compatibleversions node (http://www.dotnetnuke.com/Community/Blogs/tabid/825/EntryID/1385/Default.aspx) if you plan on using version specific code.

Cathal


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
6/17/2007 10:35 AM
 

 I have deceided to target DNN version 4.5.2 and later. In this custom module I am developing in C# I am trying to convert an Ajax project built in non-DNN ASP.Net.

This code has a timer in the javascript that calls a callback. The callback doesn't seem to work and I am trying to figure out how to convert this to DNN Ajax. Here is the non-DNN C# code:

//Register Ajax client script to client's browsers. This has to be hard coded.

string cbReference = Page.ClientScript.GetCallbackEventReference(this,"arg","ReceiveServerData","context");

string callbackScript = "function CallServer(arg, context)" + "{ " + cbReference + "} ;"; 

 Page.ClientScript.RegisterClientScriptBlock(this.GetType(), "CallServer", callbackScript, true);

 How would I replace this code to work in DNN Ajax?

Also could someone just hit the high points of what using 4.5.2 and later buys one in the Ajax world?

 

 

 

 

 

 

 
New Post
6/17/2007 10:54 AM
 

What about that doesn't work? If you're in debug mode does it get caught on an exception anywhere in the DNN core code?


Chris Hammond
Former DNN Corp Employee, MVP, Core Team Member, Trustee
Christoc.com Software Solutions DotNetNuke Module Development, Upgrades and consulting.
dnnCHAT.com a chat room for DotNetNuke discussions
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Minimum Ajax RequirementsMinimum Ajax Requirements


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, 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 DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out