ajax

ASP.NET UpdatePanel Time Out

I'm making a request from an UpdatePanel that takes more then 90 seconds. I'm getting this timeout error. "Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerTimeoutException: The server request timed out." Does anyone know if there is a way to increase the amount of time before the the call times out? ...

ReportViewer Control and Ajax UpdatePanel

Did anyone of you ever find a way of getting the Microsoft Report Viewer Control (Web) to work from within an Ajax UpdatePanel? ...

Dojo Framework

Is there a better ajax framework than DOJO for web apps using struts? ...

AJAX Toolkit - AJAX Framework

What's the difference between toolkits and frameworks? Do you know a good comparison? ...

Best Linux Distro for Web Development?

I want to start learning HTML and AJAX using a Linux distribution. Can anyone recommend a distribution that has these requirements: Local Host Admin interface (like PHPmyAdmin) IDE for Javascript... etc ...

Fire Async method on page load with AJAX

I am using ASP.NET 2.0 with AJAX Extensions (1.0?) and am wondering if it is possible to call a method asynchronously and have the results populate on the page after it has been loaded. I have a gridview that is populated by a fairly long-running SQL query. I would prefer to have the page come up and the results trickle back in as they ...

AJAX and the Browser Back Button

I run a browser based game at www.darknovagames.com. Recently, I've been working on reformatting the site with CSS, trying to get all of its pages to verify according to the HTML standard. I've been toying with this idea of having the navigation menu on the left AJAX the pages in (rather than taking the user to a separate page each time...

Ajax versus Frames

In light of how ajax is actually used by most sites today; why is ajax embraced while frames are still regarded as a bad idea? ...

HTML/Javascript app that runs on the filesystem, security issue

I'm putting together a little tool that some business people can run on their local filesystems, since we don't want to setup a host for it. Basically, its just HTML + Javascript (using jQuery) to pull some reports using REST from a 3rd party. The problem is, FF3 and IE don't allow the ajax call, I get: Access to restricted URI denied...

Are the PUT, DELETE, HEAD, etc methods available in most web browsers?

I've seen a couple questions around here like How to debug RESTful services, which mentions: Unfortunately that same browser won't allow me to test HTTP PUT, DELETE, and to a certain degree even HTTP POST. I've also heard this, that browsers support only GET and POST, from some other sources like: http://www.packetizer.com/ws/res...

How can I upload files asynchronously with JQuery?

I would like to upload a file asynchronously with JQuery. This is my HTML: <span>File</span> <input type="file" id="file" name="file" size="10"/> <input id="uploadbutton" type="button" value="Upload"/> And here my javascript: $(document).ready(function() { $("#uploadbutton").click(function() { var filename = $("#file")...

What is the simplest way to allow a user to drag and drop table rows in order to change their order?

I have a Ruby on Rails application that I'm writing where a user has the option to edit an invoice. They need to be able to reassign the order of the rows. Right now I have an index column in the db which is used as the default sort mechanism. I just exposed that and allowed the user to edit it. This is not very elegant. I'd li...

AJAX, postbacks and browser refreshes

I have created a user control to handle adding comments to certain business entities, like contacts and customers. Works great ... except for one issue. I am using a ListView control to edit and delete comments, and a separate area, on the same user control to add a new comment. All of this is wrapped in an UpdatePanel. Here is my ...

Call Web Services Using Ajax or Silverlight? Which performs best?

I'm building an ASP.NET AJAX application that uses JavaScript to call web services to get its data, and also uses Silverlights Isolated Storage to cache the data on the client machine. Ultimately once the data is downloaded it is passed to JavaScript which displays in on the page using the HTML DOM. What I'm trying to figure out is, doe...

Stop jQuery .load response from being cached

I have the following code making a GET request on a URL: $('#searchButton').click(function() { $('#inquiry').load('/portal/?f=searchBilling&pid=' + $('#query').val()); }); But the returned result is not always reflected. For example, I made a change in the response that spit out a stack trace but the stack trace did no...

AJAX and Relative Path Scope

Hi Everyone! First post here and I'm hoping someone can help me out. :) I'm trying to lightbox a page containing a SWF via the nifty AJAX feature in Facebox (for jQuery). The trouble is that the paths now work relative to the main index page, not the directory that houses the flash page. Here's a directory breakdown: ./   - index.html ...

Integrating AJAX and PHP

Hello, I've been writing PHP web applications for some time, and have come across very nice Javascript frameworks, such as JQuery, ExtJS, Scriptaculous, etc. I can't say the same about the PHP side - I always coded that part of the client-server dialog from scratch. I've used CodeIgniter (http://codeigniter.com/) and it is nice, but do...

Best way to document AJAX + PHP code?

Hello, I have always been for documenting code, but when it comes to AJAX + PHP, it's not always easy: the code is really spread out! Logic, data, presentation - you name it - are split and mixed between server-side and client-side code. Sometimes there's also database-side code (stored procedures, views, etc) doing part of the work. T...

Problem using the ASP.NET FileUpload control in an UpdatePanel?

I'm running into an issue where I have a FileUpload control in an UpdatePanel. When I attempt to save changes and upload the file, no file is found. If I remove the UpdatePanel everything seems to work fine. Any ideas why this might be happening? And is there a work-around? ...

Deserialize jSON Google AJAX Translation API

I've got the JSON coming back like this: {"responseData": [{"responseData":{"translatedText":"elefante"},"responseDetails":null,"responseStatus":200},{"responseData":{"translatedText":"Burro"},"responseDetails":null,"responseStatus":200}], "responseDetails": null, "responseStatus": 200} And I need to parse it into a ResponseData objec...