Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

What did I do wrong to my AJAX

Posted on 2011-09-20
6
Medium Priority
?
205 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

610 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