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  |  

Maximum ASP
  Ads  
Engage Software - Training Partner for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

Verndale
The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  ClientAPI Compo...  Non Vendor specific Callback Advice Need
Previous Previous
 
Next Next
New Post 6/1/2007 4:52 PM
Resolved
User is offline Gary Bruno
10 posts
10th Ranked


Non Vendor specific Callback Advice Need 

 

 

 

     Staying with in the DotNetNuke 3.2 framework I'm attempting to find the best, simplest solution for making callbacks/RPCs/Ajax requests.

 

The biggest obsticles seem to be staying within the DotNetNuke framework recommendations:

 

***

1. Default.aspx - One page, one entry point

           Staying with this is great because it handles security for me and all the DotNetNukish stuff.

***

 

2. Stay away from custom HTTPHandlers

           Correct me if I'm wrong; to conform with DNNs "module installation packages" the web.config file can't be altered by DNN's "Upload & Install" method of distributing packages. I have looked in solutions such as JSON's Jayrock and it requires me to stick an HTTPHandler in the config file to operate. I'm not even sure if many hosting environments will allow this!

 

3. Google GWT

           So sleek, so simple, so fast, so not IIS.

 

4. Telerik Ajax suite

           Keeping in mind that there are WebControls loaded dynamically. Telerik's solution for this is to place them into a panel so it has a control that will produce HTML (I assume so it can get an ID from that control). I would like the controls I'm making to be somewhat self contained & able to be reused anywhere under the umbrella. I don't want to "need" to place them into a panel every time.

 

5. Use "DotNetNuke Client API Client Callback" in the WebUtility.dll

           Testing with this method; the use of dynamically loaded control (LoadControl(cb_checkBox)) seems to mess DNN's method of performing the callback. The GetCallbackEventReference(Page, "blah", "blah", "blah", ...) can't give me a Control.ID because the control does not yet have one. The little JavaScript string is passes back then lacks the right stuff to make the call from the client later. Even if it had the right stuff... The control would not exist in the page control hierarchy untill after DNN goes search for it with the FindControl recursive function it uses to handle the callback request coming in.

 

6. Not callback, not RPC, not Real-Time

           Looked at the ClientAPI DNN comes with to pass the stuff back in hidden forms on the pages themselves. This would work for me if the user posted back to the same page every time; but it's possible they will not sometimes. Then things that put in that "hidden forms bucket" are lost. I considered making the Default.ascx page being responsible for this that way that form would always be processed; that just would not conform to the DNN standards.

 

In summary; I'm just looking for a balance of what would be best for knowing what the user is clicking & typing making that information avaliable to all modules in my DNN solution(s). I like all the DNNish stuff that DNN does; but it just seems to be a pain when trying to implement something like this.

 

 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  ClientAPI Compo...  Non Vendor specific Callback Advice Need
 


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.

 


AppTheory
Professional development for medium to large projects based on the DotNetNuke platform.
www.apptheory.com
OnyakTech
Modules for Help Desks, Live Chat, Project Management, CRM, Charting, Reporting, Scrolling Text/Images, Portal Community tools and much more.
www.OnyakTech.com
IHostASP.NET Provides the Ideal DNN Hosting
We will help you with the installation, configuration, and troubleshooting of your DNN portal, no task is too big or small for us. Unlike other companies we are not just providing a reliable hosting service, but we are also focused on providing the best DotNetNuke hosting service on the internet.
www.ihostasp.net

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