What did I do wrong to my AJAX

Posted on 2011-09-20
Medium Priority
Last Modified: 2012-08-13
I am using an AJAX  PopUpControlExtender that is activated my mousing over a .gif, then getting dynamic data by calling a page method in the code behind, and then displaying the data in a popup control. It works great when running the VS2008 IDE from my workstation using the local file system.
 But when I publish to the web server and run it, the popup does not work. According to the event logs on the web server, when I mouse over the .gif, the Page_Load event throws an error and saying that an object was null.
Page_Load???? When I debug from the IDE using the local file system, if I put a breakpoint in the Page_Load event then mouse over the .gif, the Page_load event is not called and the pop up works fine.
What am I doing wrong?
Question by:JonAlbert
  • 4
LVL 12

Expert Comment

by:Ramkisan Jagtap
ID: 36571540
Have you added you Ajax DLL on web server? If its not added please add it and if it is already added please check the version of that DLL.

LVL 16

Expert Comment

by:Easwaran Paramasivam
ID: 36572507

Check whether AutoPostback=true is set in the popup control and it is attached with the image.

Author Comment

ID: 36582332
ramkisan: yes the correct version of the dll is on the web server
Easwaran: the popupcontrolextender does not have a AutoPostback attribute
Get 10% Off Your First Squarespace Website

Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to Squarespace.com and use offer code ‘EXPERTS’ to get 10% off your first purchase.


Assisted Solution

JonAlbert earned 0 total points
ID: 36590118
I added this to the web.config and now it works!

Accepted Solution

JonAlbert earned 0 total points
ID: 36590127
I added this to the web.cong and not it works!

      <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

Open in new window


Author Closing Comment

ID: 36715417
I figured it out myself

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

High user turnover can cause old/redundant user data to consume valuable space. UserResourceCleanup was developed to address this by automatically deleting user folders when the user account is deleted.
Media Temple is thrilled to announce the launch of our new Partner Program, specifically designed to empower digital agencies and adtech platforms by offering white-glove support and exclusive hosting enhancements to optimize their sites and their c…
In this video I will demonstrate how to set up Nine, which I now consider the best alternative email app to Touchdown.
Through the video, you can check the migration process of Outlook PST file to PDF. Kernel for Outlook to PDF tool can convert Outlook emails with all attributes like Subject, To, From, Cc, Bcc and other folders such as Inbox, Outbox, Sent Items, Jun…

600 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question