ajax

ASP.NET AJAX issues when using UserControls

Hi Stackoverflowers I Have a UserControl called TenantList.ascx which contains a slightly modified GridView from DevExpress (Web.ASPxGridView). This control makes Callbacks without causing a postback which is exactly what I need. The specific event I need to react on is CustomButtonClicked. I have made my on OnCustomButtonClicked event ...

Ajax and Java

I have backend code written in Java. The code has about 12 classes. However my partner on this project who is writing the interface (which uses Ajax) is more familiar with C# and .net. What would be quicker to learn Ajax with Java or to rewrite it in C#. ...

Free-Form Date Picker - like RTM

I'm looking for a way to have a textbox that allows users to type in a date in any format and turns around and formats that date in a 'mm/dd/yyyy' format. So the user could type in "Today" and it would turn the date as 02/24/2009 or they could type in Wednesday Feb 24 and formatting would automatically pick up. Remember the Milk does t...

Fast Loading web pages

We are planning to develop a new website. Our goal is to load web pages quickly. What are all the techniques we need to follow. Can anyone give me good suggestions, forums links or articles. Our platform is PHP, MySQL, Javascript, and AJAX. ...

What are the advantages and disadvantages of json vs xml for ajax requests?

What are the advantages and disadvantages of json vs xml for ajax requests? Is there a difference in performance? i.e. are browsers able to process one format faster than the other? ...

Show process status using AJAX and ASP.NET MVC

I have a method in my controller that kicks of a job on the server. I'll use a Ajax call (jQuery) to start this via a link on the page. This can take a while and I need to show some status on the page. I don't necessarily need "26% done ..." but more a status showing "working" or "done". How do a get jQuery to continuously pull for the...

problem with form submit

hi , i have a form that works perfectly fine with mozilla and IE but on google chrome there is a slight problem i am using ajax to submit my form that is there is no submit button ,in IE and Mozilla its working fine but in google chrome when i press enter the form submits and the page redirects to the main page( this is another problem ...

problem with ajax( page refresh)

hi im using ajax to extract all the pages into the main page but am not being able to control the refresh , if somebody refreshes the page returns back to the main page can anybody give me any solutions , i would really appreciate the help... ...

ajax loading but intermittently in a jsp

All, I have included some ajax pages in my jsp as in the following way:- ajaxpage('', 'contentarea') where content area is a div id the JS loads the ajax in the following format document.getElementById('contentarea').innerHTML=page_request.responseText But the problem is the part thats loaded with ajax is intermittent... any help ...

how to use rss feed ?

im new to this if somebody could help me .... ...

Listen for multiple messages from the server using AJAX: JQuery

Hi I make an AJAX call to a PHP script like so: function convertNow(validURL){ $.ajax({ type: "GET", url: "main.php", data: 'url=' + validURL, success: function(msg){ alert(msg); }//function });//ajax }//function convertNow From the above all it does is receive a lot of text f...

Latest and accepted ajax techniques in Rails

What is the present state of Rails Ajax? What frameworks and technologies should one use when working with Rails now? Rails seems to evolve so rapidly that one might not be able to keep up. Is it prototype and RJS or something else? ...

Problem in ajax webpage to navigate on previous page

The data is displayed in gridview with paging on an ajax enabled webpage. The gridView contains Item templates containing link button. On itemCommand event, page redirect to display data in new page. When The Back button on browser pressed, the previous state of the page doesn't load. Plz help me. Thanks in advance. ...

Rails: submit (via AJAX) when drop-down option clicked

What is the easiest and most graceful way to auto-submit an AJAX form when a drop-down box's option is selected? I'm creating an administration page where the admin can modify user permissions (where "permissions" is stored as an integer), and I would like the "permissions" field to be a drop-down box that automatically submits and updat...

What's the best way for the client app to immediately react to an update in the database?

What is the best way to program an immediate reaction to an update to data in a database? The simplest method I could think of offhand is a thread that checks the database for a particular change to some data and continually waits to check it again for some predefined length of time. This solution seems to be wasteful and suboptimal to ...

Using ajax to call a web service when Windows Authentication turned on?

Hi I am trying to call a web service method from javascript: function Search() { var context = new Object; context.Filter = "Test"; SearchService.GetSearch(context, onSuccess, onFailed); } function onSuccess(result) { // userContext contains symbol passed into method var res = document...

How do I get intellisense for WCF Ajax Services?

I've finally got Intellisense working for JQuery by applying patch KB958502 to Visual Studio 2008 and including this line: /// <reference path="JQuery\jquery-1.3.2.js"/> at the top of my .js files. Now I'm trying to figure out how to get JavaScript intellisense for the client proxies generated by the ScriptManager's ScriptReference e...

$.ajax no JSON

Why is the callback function receiving a XMLHttpRequest object instead of a JSON object? <%@ Page language='C#' %> <% if (Request.RequestType == "POST") { System.Threading.Thread.Sleep(1000); int c; if (Session["c"] == null) c = 1; else c = (int)Session["c"] + 1; Session["c"] = c; ...

How can I get all a form's values that would be submitted without submitting

I have a form on my page and am dynamically adding controls to the form with Javascript/JQuery. At some point I need to get all the values in the form on the client side as a collection or a query string. I don't want to submit the form because I want to pass the form values along with other information that I have on the client to a b...

AJAX Progress Bar - Polling, Comet?

Hi I would like some advice on how to implement the following: I would like to make my users aware of the progress of a task that is running on my server via AJAX. My server runs a PHP script that downloads a file via shell command using the popen function. It periodically echos/prints what is happening. I would like to capture this ou...