[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

What did I do wrong to my AJAX

Posted on 2011-09-20
6
Medium Priority
?
206 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
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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
Integration Management Part 2
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…

873 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