ajax

Whats the best, most simple ajax file uploader?

I have asp.net 3.5 website, and i want to put an ajax uploader, but i want this ajax uploader to: don't refresh the page while/after uploading easy to integrate free Not swf upload control i will use it in uploading images, so want a simple way to get the uploaded image file name, and be able to tell it in which folder to upload to. ...

CascadingDropDown Error - 'options' is null or not an object

I have five DropDownLists linked together with the CascadingDropDown AJAX control. When it's running locally, they work fine. However when running on the production server over the internet, I get this error every time I select a new item: 'options' is null or not an object Debugging this shows the function that's causing it (it's JS ...

Create a web Ajax version of excel?

I'm trying to figure out how to create basic functionality of a excel spreadsheet in a web app. Is basic Ajax the best way or is there a good framework for this? ...

Two ModalPopupExtenders on a page cause incorrect validation issues

I have one aspx page that has two UserControls on it; each is primarily a ModalPopupExtender. One has validators; one does not. The one that does not has a Submit button with the CausesValidation="false" attribute on it. When that Submit button is clicked, nothing happens. Click it again, and the postback happens as expected. There ...

IE hang for 5 minutes when calling synchronous xmlhttprequest

I have a web application and use ajax to call back to my webserver to fetch data. Sometimes(at rather unpredictable moments, but it can be reproduced) IE hangs completely for 5 minutes(the window says Not Responding) and then comes back and the xmlhttprequest object responds with error 12002. The way I can reproduce it is as follows. ...

ASP.NET HTTPHandlers and long running processes.

This is a multi-part question. I have a process that can take several minutes to complete, it is ran by a calling a HTTPHandler using a asynchronous javascript request. Question 1: How can I ensure that this request does not time out on both the server and the client? Question 2: Is it possible to emit data from the HTTPHandler while ...

Auto ajax selectors with Jquery

Hi, I'm trying to make a proof of concept website, but I want perfect degradation. As such I'm going to code the website in plain XHTML first and then add classes & ids to hook them in jQuery. One thing I want to do is eventually enable Ajax xmlhttprequest for all my links, so they display in a viewport div. I want this viewport to be a...

Is there any Forum or Knowledge base for Plumtree interms of hosting Asp.net as Portlets

I am quite new to Plumtree, and hosting asp.net pages as portlets is not so easy. There are weird issues coming up every time, like -> Session variables don't work across PAges -> Build- in Ajax doesn;t work -> Response.redirect fails I would like know more on hosting asp.net pages in plumtree, Please let me know if you come across a...

Dynamic javacript slideshow...

I have a javascript slideshow that pre-loads images out of a mySQL database and then displays them one at a time in an image tag in the HTML document. Briefly, it accomplishes this by pre-loading images like many slideshow tutorials show on the web, but instead of using static images (i.e. images/image1.jpg etc.) it uses a dynamic image ...

How can I implement a shopping cart in AJAX using jQuery?

I am in developing a shopping cart. Every Product has a Price and a SubCategory. Product: ID Price Product No ProductName 1 250.5$ esp1 Electronic Machine 2 500.0$ esp2 Scanner A user can choose the product by selecting any of the above Products. There is also a CommonProduct associated with each Product. Com...

A problem with Select's width in IE

I have three select boxes. <div style='float: left; padding-right: 10px;'> <select size="10" name="company_id"> // a lot of options here </select> </div> <div style='float: left; padding-right: 10px;'> <select size="10" name="department_id" id="department_id"> // a lot of options here </select> </div> <...

Dynamic added controls and AJAX

Hi Stakcoverflowers Let me start with pointing out, this is not an easy question to answer. At least it's dead near impossible to find the answer. In an UpdatePanel I dynamically add some controls to a panel control of mine. List<Showing> showings = cBLL.GetShowings(tenant.Id); int j = 1; foreach(Showing showing in sh...

Are there any diagnostics tools for troubleshooting content delivery with Opera Mini?

I have an application that I'm targeting a wide variety of devices and platforms. The application can render different HTML based upon the type of client. However due to the complexity of the application, it shares a considerable amount of JavaScript libraries that rely on a number of async and ajax method calls. One of the targets for...

Ajax call completed event

I need to know if there is any event that fires when an element get completed rendering. I have a div say with id A. Now I am creating and rendering that div with ajax and need to access elements inside div. How can I do it. Tried with $("#A").init(). It is not working. ...

Cut-and-dry AJAX functionality for a library I'm writing for myself; will this suffice?

First, the code in question: ajax = function(url, cb) { xhr = (window.XMLHttpRequest) ? new XMLHttpRequest() : new ActiveXObject('Microsoft.XMLHTTP'); xhr.onreadystatechange = function() { if (xhr.readyState == 4 && xhr.status == 200) { cb(xhr.responseText); }; } xhr.open('get', u...

Redirecting to a 500 page when an AJAX call fails in Ruby on Rails

I'm working with an application built in Ruby on Rails with very poor error handling right now. If a controller method is executed via ajax, and that method results in a 500 (or 404 or any other response) the 500.html page is rendered and returned as the result to the AJAX request. Obviously the javascript doesn't know what to do with th...

jQuery Form Validation Plugin: Requiring e-mails to be .EDU addresses

I'm trying to build a sign-up form that will only accept .EDU e-mail addresses. I also want to keep the AJAX functionality I have (using the "remote" parameter) to ensure that the e-mail address hasn't been used before. How can I do this? ...

Why can't I set a variable equal to an XMLHttpRequest's responseText value?

If I am within my XHR's onreadystatechange function, I can easily do document.title = xhr.responseText, but if I make the function return the responseText, I can't set a variable equal to my XHR's outerlying wrapper to make it equal the response; is there any way to go about doing this? My wrapper: ajax = function(url, cb) { xhr =...

ASP.net form Double Entry

I have a form that I need the user to be able to type something in a textbox, after they tab out have them enter in the same value in another textbox in proximity to it to assure they entered it in correctly. After that the second textbox is to disappear and they will continue to the next field without ever having a postback. Anyone hav...

asynchronous communication between server and webbowser

The server is monitoring the events in client web browser...If any events occured in client web browser,the server should be notified about that event and server should respond to that event (like invoking another java class in the server itself)...please help me with the code ...