ajax

Dynamic table row not being updated via jquery ajax call

Hi there, Having a bit of a hairy issue when submitting data over a jquery ajax call. Basically, form values of form fields which have been dynamically added to the screen into a tubular grid using jquery are not updating on a batch save command. Basically I have a grid listing which displays all current rows saved to the database with...

full postbacks with ASP.Net AJAX on an ASP.NET page within an IFRAME

I have an ASP.Net page that is contained within an iframe the page has an update panel, that, in isolation, works however when the page is within the iframe, the update panel always produces a full postback. I guess that the problem is the iframe itself but id like to know a) why it doesnt work b) if there is a solution beyond rolling m...

ExtJs Cascading-Combos Issue

I Have an issue (maybe it will be my mistake using incorrectly ExtJs, I hope I do) using ExtJs to do a cascading-combos in a form. This is the situation: I have 3 combos, Zones, Regions, Cities When I click on one of them in order, the related one will be updated making an ajax request using Json as data format (so even if I think it's...

Which is the best ajax framework for java web development ?

I am using struts2 for my java web application . Now I want to use ajax for my client side user interface can anyone suggest me which is the best one to learn and implement ajax framework . I have seen jmaki , dojo , jQuery and heard about vroom for netbeans IDE thanks in advance . ...

Infragistics Controls - are they stable/easy to learn?

What is your opinion on Infragistics controls (both Web and Win)? Is this a stable library? What do you feel about the learning curve? ...

custom serialization converters for a WCF service

We are currently using a .asmx web service method which serializes our object to Json to be returned to the client and consumed by MS Ajax code. For some members of the object, we use custom converters via classes that derive from JavaScriptConverter and override the Serialize method. We "wire up" these custom converters in our web.con...

SharePoint Ajax web part web.config problems

Hi I am using AJAX Extensions 1.0 in my web part. It works great when I add it on SharePoint and everything runs fine. I also have links to other applications which are put onto SharePoint as IFRAME's. I run into a problem with the application inherting from my SharePoint web.config. I get this error in the IFRAME: Parser Error Mess...

creating dynamic controls using ajax on asp.net

I have button Add and Remove on my page. Add button adds one checkbox, two textboxes and one dropdownlist to a new line on my page. Remove button removes them. I have this running nicely by following Joe Stagner's example. Problem: The controls that are created dynamically all need to fire the same event when checked (for checkboxes), ...

AJAX cross site scripting between own domains

If there anyway allows AJAX between two own domains without proxy hacking, JSONP, Flash or browser security changes? Maybe SSL or something? ...

Image inside UpdatePanel not working in Firefox

I have an image that is generated automatically inside an Ajax UpdatePanel. This image is a graph that is generated from server-side code. Searching in Google, I realised it was a bug of FF. Does anybody have any solution? Here is the source (it contains also unneeded tags, I just copied-paste) <div> <asp:UpdatePanel ID="UpdatePane...

Any downsides or better alternatives to calling .NET Page Methods with jQuery?

I need to come up with a smarter/simpler way of doing ajax calls in our current .net webforms app. I know jQuery basics and I like it alot. I'm thinking of proposing to my team the use of jQuery to directly call .net Page Methods as described here. Does anyone know of any problems/limitations with this approach? Is there a simpler w...

How can I know when ajax loaded content finish the images loading?

Hi, I'm loading html from an ajax request, and some img tags in it. I need to know when the images loaded in the ajax are fully loaded to resize the container. I don't know how many images are in the result, so I can't simply check the .complete value. Do you know a solution for this? Thank you! Leandro ...

Is this a jQuery bug, or am I missing something?

I am using jquery-1.3.2 in an AJAX web application. I use the jQuery ajax $.post() method to submit requests to the server. On the server I am using php to build an array and then json_encode the answer. Then on the client I use the callback function of the AJAX post method to process the response. All works well until I use the $.post...

integrating jquery with AJAX using MVC for ddl/html.dropdownlist

Hi guys, the situation: a user on the page in question selects a category from a dropdown which then dynamically populates all the users of that category in a second dropdown beside it. all the data is being retrieved using LinqtoSQL and i was wondering if this can be done a) using html.dropdownlist in a strongly typed view? b) using...

Generate pdf in the background.

I have a classic asp page which generates a PDF serves it to the browser. What I would like to do is have a loading page which loads the PDF in the background before serving it to the browser when this is complete, essentially adding a nice page indicating to the user that something is happening. I have looked at things like the Yahoo p...

Html form submit - ajax generated dropdown values not sent

Hi, I have a form embedded in a html/smarty template code. Inside a form there is a dropdown box with options populated from db. If you change an option, it calls a php script via onChange event using ajax that creates/populates 2 further dropdowns. This part works fine, but if you submit the whole form (involving original dropdown and...

Ajax form validation

I have created an form validation using ajax/php. Each text box is validated using a different file e.g. username_ajax.php. Once the information has been checked to be ok it is then echoed on screen ("Username ok"). I cannot figure out how to allow the user to only press the submit button once all text boxes are 'ok'. Any help will be ap...

UpdatePanel Full Postback

Greetings, here is the scenario. I have and .aspx page with and updatepanel like this <asp:UpdatePanel id="uPanelMain" runat="server"> <ContentTemplate> <uc:Calendar id="ucCalendar" runat="server" Visible="true" /> <uc:Scoring id="ucScoring" runat="server" Visible="false" /> </ContentTemplate> The control ucCa...

jquery .get/.post not working on ie 7 or 8, works fine in ff

I have basically this on a page: <script type="text/javascript"> function refresh_context() { $("#ajax-context").html("Searching..."); $.get("/ajax/ldap_search.php", {cn: $("#username").val()}, function(xml) { $("#ajax-context").html($("display", xml).text()); $("#context").val($("context", xml).text()); }, '...

Can't dynamically add rows to a <TABLE> in IE?

I have an AJAX application that downloads a JSON object and uses the data to add rows to an HTML <table> using Javascript DOM functions. It works perfectly... except in Internet Explorer. IE doesn't give any sort of error, and I've verified as best as I can that the code is being executed by the browser, but it simply has no effect. I cr...