Archive for January, 2010
The Project Location is not Trusted
This one has been bothering me for several weeks, so I decided to research the problem and finally fix it.
The problem started when I downloaded a project from the web to start working on it. This same project worked previously, the zip was just an update.
Here’s what I found:
jQuery and ASP.NET UpdatePanel
I’ve been busy over the last couple of weeks working on an administrative application that uses a ton of AJAXy stuff.
The application is interactive in the sense that every time a field is updated in the administrative screen, another part of the screen updates to show the user what the final result will look like when it is published.
Where things get tricky is that the screens use a considerable amount of jQuery to do things like binding to events so that updates will occur when the events fire.
But the main content that is being updated for one of my screens is actually in an UpdatePanel. This is a problem, because in order for that screen to render correctly I have to run some jQuery code. But the jQuery “ready” event doesn’t fire when the UpdatePanel gets updated.
So how do we fix that?