View Single Post
  #7 (permalink)  
Old October 14th, 2011, 03:21 PM
JackHerr JackHerr is offline
Authorized User
Points: 108, Level: 2
Points: 108, Level: 2 Points: 108, Level: 2 Points: 108, Level: 2
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Nov 2007
Location: North Salem, NY, USA.
Posts: 23
Thanks: 3
Thanked 0 Times in 0 Posts
Default

Holy Mackerel (sp?).

When I launched, then hit CTL+R, it worked. I then relaunched and it worked straight away. Can you explain what happened? Did my browser cache a version of the file, and keep it, thinking it didn't need to download it until I forced it to do so?

I also modified the Home Controller to return a JsonResult but either that or ActionResult now works.

Code:
publicJsonResult QuickSearch(string term)
{
var artists = GetArtists(term).Select(a => new { value = a.Name });
return Json(artists, JsonRequestBehavior.AllowGet);
}
Thank you so much!!

Jack Herr