I got the following code frfom the web and was trying to compile and run. Its an ajax application. I couldn't get it to compile/build this application; because it says - "Are you missing a using directive or assembly reference" - Can somebody advise what/where should I check? Pardon my ignorance, I'm novice at the Ajx stuff :(
Here is the code from AjaxCopntroller.cs; and the Controller word is underlined in .Net:
namespace System.Web.Mvc {
public class AjaxController : Controller {
private bool _isAjaxRequest;
protected internal virtual bool IsAjaxRequest {
get {
return _isAjaxRequest;
}
}
}
}