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  
Biz Modules provides professional business modules and solutions 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.

 


Willhite & Sharron Realtors
Exemplary service for your Seattle Real Estate needs. It's what you deserve from your Realtor®!
www.alkihomes.com
Swanzey Internet Group LLC
DotNetNuke design, development, e-Commerce, hosting, maintenance, and training. Exclusively DotNetNuke.
www.swanzey.com
Lucede Systems Group
Providing a full range of IT services for large and medium sized companies
www.lucede.com

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