Top "Asp.net-ajax" questions

A set of extensions to ASP.

How can I deserialize JSON to a simple Dictionary<string,string> in ASP.NET?

I have a simple key/value list in JSON being sent back to ASP.NET via POST. Example: { "key1": "value1", "…

json asp.net-ajax asp.net-3.5 json.net
ASP.NET MVC controller actions that return JSON or partial html

I am trying to create controller actions which will return either JSON or partial html depending upon a parameter. What …

ajax asp.net-mvc json asp.net-ajax
jQuery $(document).ready and UpdatePanels?

I'm using jQuery to wire up some mouseover effects on elements that are inside an UpdatePanel. The events are bound …

javascript jquery asp.net asp.net-ajax jquery-events
Setting Access-Control-Allow-Origin in ASP.Net MVC - simplest possible method

I have a simple actionmethod, that returns some json. It runs on ajax.example.com. I need to access this …

json asp.net-mvc-3 cors asp.net-ajax
How to send a model in jQuery $.ajax() post request to MVC controller method

In doing an auto-refresh using the following code, I assumed that when I do a post, the model will automatically …

asp.net-mvc jquery asp.net-ajax
How can I convince IE to simply display application/json rather than offer to download it?

While debugging jQuery apps that use AJAX, I often have the need to see the json that is being returned …

jquery asp.net-mvc ajax asp.net-ajax internet-explorer
Sys is undefined

I have an ASP.Net/AJAX control kit project that i am working on. 80% of the time there is no …

asp.net javascript asp.net-ajax
window.open with target "_blank" in Chrome

I have a small javascript function which opens an url in a new tab: function RedirectToPage(status) { var url = 'ObjectEditor.…

javascript google-chrome asp.net-ajax
How to pass multiple parameters from ajax to mvc controller?

Controller [HttpPost] public ActionResult Save(string StrContactDetails, bool IsPrimary) { } $.ajax({ async: true, type: "POST", url: @url.Action("Helper","Save"), data: { …

jquery asp.net-mvc asp.net-ajax
ModalPopupExtender OK Button click event not firing?

I have a Button inside an UpdatePanel. The button is being used as the OK button for a ModalPopupExtender. For …

asp.net asp.net-ajax updatepanel modalpopupextender