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  |  

PortalWebHosting
  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

OnyakTech
CrystalTech Web Hosting™
Webhost4life, specialists in DNN hosting
Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
SteadyRain
DataSprings - Great Ideas. Always Flowing.
 


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.

 


XCESS expertise center b.v.
Custom made modules and complete solutions for the DNN framework. Maatwerk modules en complete webtoepassingen gebaseerd op het DNN framework.
www.xcess.nl
EMAS Pro
Strategic Enrollment Management Software for Higher Education Recruitment, Retention and Financial Aid
www.emaspro.com
Subzero Solutions
Dutch / English DotNetNuke consultancy services. Custom module development in any version. Complete application integration. Small business portal hosting. Your ideas our innovation - Your success our motivation. K.v.k Amsterdam: 34236342
www.subzero-solutions.net

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