Solved

What did I do wrong to my AJAX

Posted on 2011-09-20
6
196 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
  • 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
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Introduction Got endorsements from your clients?  Great!  There is almost nothing better than word-of-mouth advertising.  But how can you do that on the internet?  Sure you can make a page for endorsement quotations and list them all, but who is …
Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

760 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now