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  |  

AppTheory specializes in solutions based on the DotNetNuke platform and has 2 employees on the DotNetNuke Core Team.
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Aspose - The .NET & Java component publisher
 


  Sponsors  

Meet Our Sponsors

WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
Salaro -- Skins and more
OnyakTech
The best choice for your web site host, email hosting, and domain registration.
CrystalTech Web Hosting™
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  AJAX Control Toolkit
Previous Previous
 
Next Next
New Post 6/14/2008 5:50 AM
User is offline V i r g i l
58 posts
vreboton.ibacolod.com
10th Ranked


AJAX Control Toolkit 

I created a dnn module with a Repeater that contains an UpdatePanel control with ChildrenAsTriggers enable.  This works fine until I click the button inside any of the update panels.

This is the error:

Page cannot be null. Please ensure that this operation is being performed in the context of an ASP.NET request.

Need help on this one.

Thanks in Advance
Virgil


vreboton.ibacolod.com
 
New Post 6/14/2008 7:16 AM
User is offline cathal connolly
2638 posts
www.cathal.co.uk
5th Ranked










Re: AJAX Control Toolkit 

theres a large number of ways this can happen (see http://www.google.co.uk/search?hl=en&q=Page+cannot+be+null.+Please+ensure+that+this+operation+is+being+performed+in+the+context+of+an+ASP.NET+request.&meta= ) for some examples. I'd suggest it might be a good idea to disable the updatepanel as it often then shows the "real" error. To do this set EnablePartialRendering="false" on the scriptmanager control - if you're using the automatic scriptmanager injection in dotnetnuke you'll have to set this in your page_init of the module.

Cathal

 
New Post 6/15/2008 1:32 AM
User is offline V i r g i l
58 posts
vreboton.ibacolod.com
10th Ranked


Re: AJAX Control Toolkit 

Thanks for the reply,

I have tried disabling the EnablePartialRendering and error is gone but the server event is not triggered and the ajax functionality no longer works.

Any idea?

Thanks


vreboton.ibacolod.com
 
New Post 6/15/2008 5:41 AM
User is offline cathal connolly
2638 posts
www.cathal.co.uk
5th Ranked










Re: AJAX Control Toolkit 

disabling partial rendering disables the ajax, which allows you to better debug your code. If the server event is not triggered, it's because your code is incorrect for some reason i.e. the button you're pressing may not be a server control (or have runat=server), or you may not have the server event wired up correctly (if using vb.net), or may not have a delegate defined for the event (c#).

Cathal

 
New Post 7/2/2008 2:26 AM
User is offline V i r g i l
58 posts
vreboton.ibacolod.com
10th Ranked


Re: AJAX Control Toolkit 

I have not find any solution for this issue for weeks now....

I have done some testing and find out that this only hapens when I add the the custom control(with updatepanel) inside a repeater.

Any Suggestion?

Thanks


vreboton.ibacolod.com
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  AJAX Control Toolkit
 


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.

 


$7.16/mo - Powerful DotNetNuke Hosting
Powerful DotNetNuke Hosting starting at under $8/mo with FREE SQL 2005, FREE Installation and expert support.
www.re-invent.com
ASP.NET Web Hosting for $3.95
3 Month FREE ASP.NET Hosting! FREE Setup! DNN Support! FREE Domain Name! FREE Components! Host multiple websites on 1 plan! 30 Days Money Back Guarantee!
www.dailyrazor.com
Cestus Websites
DotNetNuke websites en services in Nederland. Cestus Websites levert websites, projectmanagent, skins, modules, training en gespecialiseerde hosting op basis van het CMS DotNetNuke.
www.dotnetnuke-websites.nl

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