ajax

Is it possible to disable AJAX without disabling JavaScript completely?

The subject says it all: Is it possible to disable AJAX without disabling JavaScript completely? Thank you all! Regards, Frank ...

AJAX/jsp/HTML vs Applets

Which approach is better? Having jsp/HTML based web application which allows you to traverse web pages in the browser. An applet based web application which opens up a Swing applet screen? ...

Ajax dropdown limit to list

pretty much what the title says. I am using an Ajax Drop Down as illustrated here: http://www.asp.net/AJAX/AjaxControlToolkit/Samples/DropDown/DropDown.aspx using linkbuttons ... is there a way to limit to list? Thank you. Edit: I think it was VB 6 maybe that you could select "LimitToList" in a drop down. Meaning the user can only...

Iframe content depending on referring page

Is there any way to vary the initial content of an iframe depending on the referring page? For example ‘page 1’ has an iframe displaying ‘initial content 1’ when page 1’s URL is typed directly in address bar. If a link is clicked on ‘page 2’ linking to ‘page 1’ iframe content on ‘page 1’ will start as ‘initial content 2’. I hope that m...

Implement Modal Dialog Box in ASP.NET MVC

Anyone have any experience creating a modal dialog box using AJAX and ASP.NET MVC? I am looking to create a Yes/Cancel confirmation dialog when a user deletes an item. In standard ASP.NET I could just use the ModalPopup extender, but I am not sure how to do this in MVC. Thanks ...

ASP.NET Validation

Hi, I am working on a form, which I would like to validation features like This. Should this all be done on clientside? or server side? I am aware of using some of MS ajax controld, however, at what point do I display the message at the top? I hope I explained myself. ...

Preventing AJAX memory leaks.

I am working on a web application that is designed to display a bunch of data that is updated periodically with AJAX. The general usage scenario would be that a user would leave it open all day and take a glance at it now and then. I am encountering a problem where the browsers memory footprint is growing slowly over time. This is h...

How to Force Javascript to Execute within HTML Response to Ajax Request

We're using Prototype for all of our Ajax request handling and to keep things simple we simple render HTML content which is then assigned to the appropriate div using the following function: function ajaxModify(controller, parameters, div_id) { var div = $(div_id); var request = new Ajax.Request ( controller, { ...

Reload the page without submitting it back to the server.

Hi all the problem I have is that I have two sets of values in a drop down list. If type 'A' is selected I want a text box to be populated with a value from the database and be read only. If Type 'B' is selected the box is to be empty and editable. My original code is written in jsp/struts and I have sort of achieved this by using o...

What's the best practice to render JSON data in JSPs?

I need to render JSON data in my JSPs for some AJAX requests. I'd like to know what's the best way to do it in terms of easy to use and stability. ...

Load usercontrols using Ajax

Im trying to find a best practice to load usercontrols using Ajax. My first approach where simply using an UpdatePanel and popuplating it with LoadControl() on ajax postbacks but this would rerender other loaded usercontrols in the same UpdatePanel. Also I cannot have a predefined set of UpdatePanels since the number of UserControls I n...

How do you check for ajax updates using a WebBrowser control in .net 2.0?

I have a web page that is being displaying in a winform app using the WebBrowser Control. I need to perform an event when the HTML in the web page changes; however, I cannot find an event that is triggered for situations when the pages is updated through Ajax. The DocumentComplete, FileDownloaded, and ProgressChanged events are not alway...

ASP Ajax Calendar Extender and displaying time

I am using the Ajax Control Toolkit Calendar Extender control. In some fields though I want to display the time along with the date. I have tried just setting the Format to "dd/MM/yyyy hh:mm:ss" but the time section gets wiped off. If the user wants to change the time section they can do it manually, the calendar drop down is only used f...

Is there a way to fire arbitrary Javascript when going back or forward on a page?

Specifically, I'm looking to mimic back button behavior with AJAX, and I don't want to attach #uglyhashes to every URL, which seems to be the standard practice of most solutions I've seen. (For what it's worth, I'm perfectly fine with a solution that does not work at all in IE. :P ) ...

Dynamically growing an array of text inputs (HTML/JavaScript)

I'm creating a data entry app for some in-house stuff. My team needs to enter info about "items" which can have many "categories" and vice versa. I need a quick way to let them enter an arbitrary amount of categories. Here's my idea: On the item entry page, I'll have it so that initially there's one text input for "categories" and if...

I want the simplest ajax form application

I want ajax application to process a simple form with textinput and submit button only , and without validation , i want to add this with a php script . I ask this because i don't know how to program with ajax or javascript . ...

How does StackOverflow's 'tags' textbox autocomplete work?

I know they're using a jQuery plugin, but I can't seem to find which one they used. In particular, what I'm looking for is autocomplete with exactly the same functionality as SO's autocomplete, where it will perform an AJAX command with each new word typed in and allow you to select one from a dropdown. ...

Returning redirect as response to XHR request.

What happens if the browser receives a redirect response to an ajax request? ...

Conflict with squid and ajax

I have a user who gets an error from ajax calls on our site. The error is pasted below. They get the error in FF3 Windows, but not IE. Based on some searching it seems this issue is often caused by the client protocol squid (you'll notice at the end of the error, squid is mentioned). My ajax code is the same used here: http://www.w3...

Upload large files in .NET

I've done a good bit of research to find an upload component for .NET that I can use to upload large files, has a progress bar, and can resume the upload of large files. I've come across some components like AjaxUploader, SlickUpload, and PowUpload, to name a few. Each of these options cost money and only PowUpload does the resumable u...