Posted on: 12/31/2013 4:12:35 PM | Views : 601

Hi all,
Iam trying to render a partial view inside of jquery dialog, but every time it is throwing me empty dialog box with nothing in it.

Here is the code for it can any one please take a look into it. thanks
Action method

public ActionResult UpdateUser(string Userid) {
HttpClient client = new HttpClient(); client.BaseAddress = new Uri(ApiUrlBaseAddress);
List<SelectedUserItem> Users = new List<SelectedUserItem>();
client.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue("application/json"));
HttpResponseMessage response;
response = client.GetAsync("api/UserMaintenance" + "/" +Userid).Result;
if (response.IsSuccessStatusCode) { string result = response.Content.ReadAsStringAsync().Result;
JavaScriptSerializer serializer = new JavaScriptSerializer();
dynamic returnedata = serializer ...

Go to the complete details ...