I'm trying to come closer to a solution for the problem of my previous question.
The scheme I would like to try is following:
User requests an action from RoR controller.
Action makes some database queries, makes some calculations, sets some session variable(s) and returns some RJS code as the response. This code could either
update ...
I've been using the ASP.NET Ajax Control Toolkit Slideshow extender and while it works, I'm not totally satisfied with it as it has problems handling multiple slideshows on one page and the fade is choppy. Anyone suggest any alternatives?
Edit
Just curious also. What is the general opinion of the Slideshow extender? Just wondering ...
Hello,
I would like to know if JSON with AJAX has a limitation to the amount of data an outgoing and returning parameter can carry?
I would like to be able to send and return from the server a file with 10,000 lines, as a string. How should I achieve this task? Will a single parameter will be able to hand this?
EDIT:
My client is Java...
Hi All,
I am a .NET programmer working with a Flash designer on a project. The design is that they will create a flash UI (implemented with AS2) to present a questionnaire. After it is completed by an end user, the will send me (a .net web service of some form) the answers to the questionnaire, I will perform a calculation, and I will...
Hi there,
I want to know how to navigate between content pages by loading them only and not the full master page template ?
Example: If I have MasterPage.master, Default.aspx and Default2.aspx,
and there is a link for Default2.aspx in Default.aspx,
when I click that link, I dont want the full page included in the master page to load, ...
I am looking for a way to show in a webapp in front of a task a wait-message and after it hide the message. The task is running a longer time. I dont know if it is possible at all.
The problem is, so far I can see, that the site will be returned to the users browser AFTER the task is completed because the task is part of the site as a i...
Hi,
I'm trying to return the ajax success array from one function to another. For some reason I don't seem to be able to pass the data stored in a variable in the success part of the ajax function into the parent function to return.
I looked at this post to try and figure things out, but not such luck:
http://stackoverflow.com/questio...
Hey all,
I am unable to get a highcharts plugin to render a chart in a rails application:
http://github.com/loudpixel/highcharts-rails
I believe it has something to do with the sql queries to the database placed in a ruby array, which the javascript is unable to intepret. This is what I have:
def panels
pass = Student.find_by_sql('SEL...
I've inherited JavaScript code where the success callback of an Ajax handler initiates another Ajax call where the success callback may or may not initiate another Ajax call. This leads to deeply nested anonymous functions. Maybe there is a clever programming pattern that avoids the deep-nesting and is more DRY. Also, there is the proble...
HTML5 will be next super star.
So~~~How to using new idea to implement AJAX on the WebSocket in HTML5 spec?
thx....
...
Anyone knows that any jQuery plugins or to build something similar to image effect/gallery like Apple OSX Finder - Cover Flow?
...
One again Microsoft poor documentation has left me confused. I am trying to use the new features of the .NET 4.0 framework. I am using the following code to populate the Title and Director but it keeps getting blank.
The service returns the result correctly like
[d: { title = "ss, director ="" } something like that but the li never g...
I would like to return the id of a newly created object for my ajax call instead of returning the view associated with the controller method.
...
Is there a risk that future revisions of the Same Origin Policy or other browser security measures could prevent the cross-domain asynchronous request capability of JSONP?
This would have to be taken into consideration if a developer intends to provide asynchronous capabilities in a public environment.
...
Hi,
Currently I am dealing with a web application which uses a txt file as a database for testing for now. But we will connect it to a server later on.
My question is, if there is a more efficient way to get my objects than the way I am using now.
During the page_init I am getting all my objects into a Collection as List-<-TravelP->-,...
I have the following code in a partial view (using Spark):
<span id="selectCount">0</span> video(s) selected.
<for each="var video in Model">
<div style="padding: 3px; margin:2px" class="video_choice" id="${video.YouTubeID}">
<span id="video_name">${video.Name}</span><br/>
<for each="var thumb in video.Thumbnails">
...
I'm after some design advice.
I'm working on an application with a fellow developer. I'm from the Webforms world and he's done a lot with jQuery and AJAX stuff. We're collaborating on a new ASP.MVC 1.0 app.
He's done some pretty amazing stuff that I'm just getting my head around, and used some 3rd party tools etc. for datagrids etc.
...
While developing my ASP.NET MVC, I have started to see the need for a debugging console window to assist in figuring out what is going right and wrong in my code. I read the last few chapters of the Pro Asp.net MVC book, and the author details how to use http modules to show page load/creation times and linq to sql query logs, both of w...
If I do something like:
result = Appointment.find( :all, :include => :staff )
logger.debug { result.inspect }
then it only prints out the Appointment data, and not the associated staff data.
If I do result[0].staff.inpsect then I get the staff data of course.
The problem is I want to return this to AJAX as JSON, including the staff ...
Hello!
Say I have a list of items from a database. Next to each item there is a delete link. the links look something like: http://example.com/exp/delete/1 - 1 is the ID of the record I want to delete. How can I grab the ID to pass through AJAX?
Thanks
...