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  |  

DotNetNuke Marketplace
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Engage Software - Training Partner for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

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
Red-Gate Software
MaximumASP
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  unable to load ajax page... null pointer.
Previous Previous
 
Next Next
New Post 6/2/2008 8:47 AM
User is offline nix
16 posts
10th Ranked


unable to load ajax page... null pointer. 
Hi,

I tried to modify the module that was generated by DotNetNuke Dynamic Module template to use AJAX extension. But I could not succeed, and I need your help.

Before I used the AJAX extension, everything works fine, e.g. Label1.text = System.DateTime.Now.ToString() displayed correctly on the page. After adding following to my cs file:

if (!Page.IsPostBack)
{
if (Dotnetnuke.Framework.AJAX.IsInstalled())
Dotnetnuke.Framework.AJAX.RegisterScriptManager();
...
Label1.text = System.DateTime.Now.ToString();
}

protected void Button1_Click(object sender, EventArgs e)
{
Label1.Text = System.DateTime.Now.ToString();
}

In my ascx file, I have added the UpdatePanel, and moved this Label1 to it. After successfully compiled it, it gave me error during run time. It stated that it can not load my page due to my page equals null. What did I do wrong? I believe that my control, and inheritant are incorrect, but could not verify this. Can you help me correcting this error. Thank you very much.

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  unable to load ajax page... null pointer.
 


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.

 


MaximumASP
MaximumASP provides a wide array of web hosting plans to fit any hosting need. We also provide software and services needed to keep it running optimally.
MaximumASP.com
Mad Development: dotnetnuke design and development
We are an expert Dotnetnuke shop specializing in developing solutions that merge the requirements of design and branding, content management, ecommerce, search engine optimization and business logic.
www.MadDevelopment.com
telerik
telerik r.a.d.controls suite is the most innovative and comprehensive toolset for ASP.NET development, tailored for seamless integration with the DotNetNuke project. This integrated collection of controls allows professionals to build web-solutions with the UI richness and responsiveness of desktop applications.
dnn.telerik.com

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