ajax

VS2010. Dropdownlist Autopostback works in IDE, not when deployed

I have a VS2010 RC ASP.NET web page,when a user changes the drop down selection on an auto postback dropdown, it refreshes a small grid and a few labels in various places on the page. I know wrapping a whole page in a big UpdatePanel control will cause horror from many of you, but that's what I did. I really didn't want a full page refr...

How use Django with Tornado web server ?

How do I use Django with the Tornado web server? ...

asp.net ajax toolkit combobox doesn't work in hidden div

I have a combobox inside a hidden div which I use css display = none to make it invisible, but when I make the div visible by setting display = block, the combobox just show the input and its button and ul list all have css as display = 'none', visibility ='hidden'. I can tell it is done by combobox inbuild javascript because I tried t...

AJAX vs ActiveX/Flash for browser-based game

I have been following the usage of JavaScript for the past few years, and with the release of extremely fast scripting engines (V8, SquirrelFish Extrene, TraceMonkey, etc.) the possibilities of JavaScript have increased dramatically. However, the usage share of Internet Explorer coupled with it's total lack of support for recent standard...

AJAX - querying a search engine and returning the number of results

Right, so basically I need to query a selection of search engines in an AJAX app. As there is a number of different search engines - there's no search engine specific API I can use either. My main problem is getting the number of results returned by the search. So far, I have decided it is probably best to use a regexp from the returned...

How to set access-control-allow-origin in webrick under rails?

I have written a small rails app to serve up content to another site via xmlhttprequests that will be operating from another domain (it will not be possible to get them running on the same server). I understand I will need to set access-control-allow-origin on my rails server to allow the requesting web page to access this material. It ...

jQuery eval of ajax inline script not throwing errors

http://stackoverflow.com/questions/606794/debugging-ajax-code-with-firebug This question is quite similar, though old and without real answers. I'm currently putting together an app that has scripts that get loaded in with an ajax request. An example: var main = _main.get(); main.load( someurl ); Where someurl is a page that contai...

Ajax Content Loading(Processing) image or indicator

Hi there, in part of my web page, I have couple of asp:image Thumbnails, onclick I use ajax modal popup extender to show the imgae in full size which are working fine, what I need to add is to have a processing image or indicator both in thumbnail and modal popup extender, I also have ajax autocomplete that is working fine, I need to ...

Store html form on client or server while building?

Hi, I have a fairly complex html form enhanced via jquery. It has multiple tabs, within each one things like a html form builder, uploads, descriptions. There is lots of data, and as the user flicks around the various tabs I'm thinking of posting the data to the server. For example, the form builder, has about 10 properties for each fi...

Calling a non static method in Server Side by a Client Side Function

I can get an object from the server side by using static receive callbackresult methods from server side. But I want to run a non-static method in my page which populates an ajax accordion by calling a client side function. The object I am calling from server side is a complex object which I can't use in client side if I get it by call...

how to disable the screen on data load?

hi, we are trying to show a loading image while the data is loading from the database. we are using AJAX calls for retrieving the data. Currently we are able to display that image. what we need now is to disable the entire screen and show only the loading image while the data is loading. is there any ready made solution to this??? i hop...

AJAX NumericUpDownExtender and TextBox width trouble

<asp:TextBox ID="TextBox5" runat="server" Font-Size="12pt" Width="92px">10</asp:TextBox> <ajaxToolkit:NumericUpDownExtender ID="NumericUpDownExtender1" runat="server" TargetControlID="TextBox5"> </ajaxToolkit:NumericUpDownExtender> So... problem is : My TexBox5 becomes very small at width and it doesn't care what width I setup. ...

How is this webpage updating?

Hi all, Please look at : http://news.bbc.co.uk/2/hi/europe/8592380.stm The content updates automatically, however, I can't see it doing any ajax requests, so i'm incredibly curious! How do you think it does it? Sad story though :-( Thanks. ...

How to test Asp.net WebApplication in different internet speed?

Hi there, how is it possible to test a web application developed in VS 2008, in different internet speed connections? Thanks in advance? ...

How to use jquery ajax to set the content of a div, then call JS from that div

I'm using JQuery to load the content of an mvc usercontroll: function menuShowModal(a) { $.ajax( { url: a.href, success: function (result) { $('#modalDialog').dialog('close'); var $dialog = $('<div id=\'modalDialog\'></div>') ...

AJAX binds jquery events multiple times

Hi... I have a masterpage setup, with a pageLoad in the topmost masterpage, which calls pageLoad2 for nested masterpages which calls pageLoad3 for content pages. In my content page I have a jquery click event and in my nested masterpage I have a web user control. Whenever I use the user control in the nested masterpage, it rebinds the...

jquery hide form when selecting login submit button, not just any button

I have a form, if submitted correctly, it hides the form. I added a cancel button, to close the pop-up thickbox window, but when I hit cancel, it hides the form. How do I go about hiding the form if the login button is selected? $(document).ready(function() { $("#login_form").submit(function() { var unameval = $("#username...

jQuery and AJAX what should I use?

Hello, I've decided to go with jQuery for all my AJAX related client side needs. But jQuery has way too many functions for the same task: $.post, $.get, $.ajax, $.getJSON... My question is what should I use? EDIT: I'm going to use POST and JSON to connect to CodeIgniter PHP framework. Thank you. ...

open source flash or ajax sketchpad?

For a non-profit (charity) site I need a simple sketchpad (drawing) component. It should be able to: Let the user draw a simple black on white sketch. Save to server the full drawing steps. Save to server the final image. Re-play the drawing steps to future users. http://www.sketchswap.com/ has a similar component. Do you know wher...

Can you cross-site ping another site using C# or JS/Ajax?

On our web application I am trying to ping a 3rd party site to see if it is up before redirecting our customers to it. So far I have not seen a way to do this other than from a desktop app or system console. Is this possible? I have heard that there was an image trick in original ASP. Currently we are using .NET MVC with Javascript. ...