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
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Webhost4Life - $4.95 Windows Hosting
 


  Sponsors  

Meet Our Sponsors

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
The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
 


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
2526 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
2526 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.

 


Willhite & Sharron Realtors
Exemplary service for your Seattle Real Estate needs. It's what you deserve from your Realtor®!
www.alkihomes.com
PointClick DotNetNuke Solutions
PointClick Technologies provides high-end DNN Hosting for businesses.
PointClick.Net Hosted Solutions
Active Modules, Inc.
Creators of Active Forums, the best forum module for DotNetNuke
www.activemodules.com

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