ajax

AJAX, Rails, and dynamic loading of forms.

I have a rails app that has picked up a bit of traction, but I have a serious headache to deal with. It's a basic sort of asset manager application - users upload their photos, .pdfs, videos, etc., and the system allows them to manage how that asset is presented. I started with a fairly standard rails view - just what gets generated by...

Has anyone used TIBCO GI?

I was checking out the TIBCO GI the other day and I was impressed. Has anyone used it extensively? What are your thoughts? What drawbacks did you encounter? Is it suitable for Internet or only Intranet apps? I appreciate any input you can shed on this. ...

Can you do ajax without using ASP.net ajax toolkit?

Can you do ajax on ASP.net webform without using ajax toolkit? (Please post a example link) ...

Calling a jQuery function inside html return from an AJAX call

I am working on a web page that is using jQuery. I have an ajax call that gets data from the server an updates a div. Inside that data there is a jQuery function; however, the function is not being called after the data is loaded into the page. I have the proper js files include in the page already. This is what is returned from the aja...

How to group gwt-rpc calls ?

With DWR it is possible to group together several service calls into one single HTTP request : dwr batch feature This feature is very useful to reduce the latency of an ajax application. Is there a way to do something similar with GWT / GWT-RPC ? Thanks for your help ...

Google Chrome and Streaming HTTP connections?

Google chrome doesn't behave the same as other browsers when encountering this nugget: <?php while (true) { echo "<script type='text/javascript'>\n"; echo "alert('hello');\n"; echo "</script>"; flush(); sleep(5); } ?> It seems that it's waiting for the connection to terminate before doing anything. Other than pol...

ASP.NET MVC Beta Ajax upgrade problem

I been waiting for sometime now to bring my Asp.net Preview 4 project up to snuff, totally skipping Preview 5 just because I knew I would have some issues. Anyhow, here is the question and dilemma. I have a few areas on the site which I have an ajax update type panel that renders content from a view using this technique found here. AJA...

How to share Domain objects on Grails with Ext GWT (GXT)?

Hi, My application is logically divided into server, which contain my Grails domain objects and controllers; and client, where I have my Ext GWT classes that build all the UI pages. For UI requests, I am using an AJAX call to a controller method that returns, for instance, a list of domain objects as a JSON structure. Following the DR...

Preventing Users from Working on the Same Row

I have a web application at work that is similar to a ticket working system. Some users enter new issues. Other workers choose and resolve issues. All of the data is maintained in MS SQL server 2005. The users working to resolve issues go to a page where they can view open issues. Because up to twenty people can be looking at this page ...

Ajax replace text with image.

I have put together the following mootools script window.addEvent('domready', function() { var shouts = "timed.php"; var log = $('log_res'); function updateData (url,target) { new Ajax(url,{ method: 'get', update: $(target), onComplete: function() { log.removeClass('ajax-loading');} }).reques...

How can you create an ASP.Net 2.0 web service that consumes and produces JSON objects?

I would like create a web service in ASP.Net 2.0 that will supports JSON. Is there a way to do this without WCF and .Net 3.5? Can anyone point me to a good article or sample code? Clarification I need direction on what is the best method, using the .Net 2.0 framework, to communicate JSON objects to a client. Is it possible to do t...

Edit in Place Update Script Security

I'm using an Edit in Place jquery plugin which needs to post the data to a script that will do the actual database update. The URL to this update script is easily viewable in the html source as well as with Firebug, so I need to add some sort of authentication check before the update is processed. This is of course so the user can't jus...

Get MultiView like behavior with ASP.NET MVC

I am trying to build a generic form submission system using ASP.NET MVC. I'd like to make it as easy as possible to create forms with a form view and a "success" view. Using the WebForms method, this was easy and could be accomplished with templates or multiviews. With MVC, I'm a bit stuck. Here's what I'd like to emulate: <% if (formN...

Display Ajax Loader while page rendering

This is probably a simple question but how can I best use an AJAX loader in ASP.NET to provide a loading dialog whilst the page is being built? I currently have an UpdatePanel with an associated UpdateProgressPanel which contains the loading message and gif in a ProgressTemplate. Currently I have a page that onLoad() goes and gets the...

Accessing control, ajax, asp.net

Hi. I have one aspx page with some controls. Also i have one DIV which is dynamically populated from AJAX call. This AJAX call return couple of controls, for example HtmlInputText1 and HtmlInputText2. When page is submitted, I can get values from this controls through Request.Form. If possible access to the attributes of this control ...

How can I get ASP.NET AJAX to send its JSON repsonse with GZip compression?

I have compression enabled within IIS7 and it works as expected on all responses except for those constructed by ASP.NET AJAX. I have a web service that provides data to the client. When the web service is called directly, it is properly compressed. However, when it is called via ASP.NET AJAX, the JSON response is not compressed. How...

How can I get ASP.NET AJAX to send its JSON response with GZip compression?

Hi - I have compression enabled within IIS7 and it works as expected on all responses except for those constructed by ASP.NET AJAX. I have a web service that provides data to the client. When the web service is called directly, it is properly compressed. However, when it is called via ASP.NET AJAX, the JSON response is not compresse...

does YUI have selectors like in jQuery?

Does YUI have selector methods like jQuery? e.g. get me all div's that are children of that have links in them? ...

AJAX console window with ANSI/VT100 support?

I'm planning to write gateway web application, which would need "terminal window" with VT100/ANSI escape code support. Are there any AJAX based alternatives for such a task? I'm thinking something like this: http://tryruby.hobix.com/ My preferred backend for the system is Python/Twisted/Pylons, but since I'm just planning, I will explo...

Internet Explorer 7 Ajax links only load once

I'm writing an application and I'm trying to tie simple AJAX functionality in. It works well in Mozilla Firefox, but there's an interesting bug in Internet Explorer: Each of the links can only be clicked once. The browser must be completely restarted, simply reloading the page won't work. I've written a very simple example application th...