?
Solved

What did I do wrong to my AJAX

Posted on 2011-09-20
6
Medium Priority
?
203 Views
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?
0
Comment
Question by:JonAlbert
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
6 Comments
 
LVL 12

Expert Comment

by:Ramkisan Jagtap
ID: 36571540
Hi,
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.

Regards,
Ram
0
 
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.
0
 

Author Comment

by:JonAlbert
ID: 36582332
ramkisan: yes the correct version of the dll is on the web server
Easwaran: the popupcontrolextender does not have a AutoPostback attribute
Regards
Jon
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Assisted Solution

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

Accepted Solution

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

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

Open in new window

0
 

Author Closing Comment

by:JonAlbert
ID: 36715417
I figured it out myself
0

Featured Post

Does Your Cloud Backup Use Blockchain Technology?

Blockchain technology has already revolutionized finance thanks to Bitcoin. Now it's disrupting other areas, including the realm of data protection. Learn how blockchain is now being used to authenticate backup files and keep them safe from hackers.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Suggested Courses

762 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