jquery Programming Glossary: somearguments
ASP.NET MVC - Returning a PartialView to Ajax along with another object http://stackoverflow.com/questions/10589787/asp-net-mvc-returning-a-partialview-to-ajax-along-with-another-object jQuery. I do something similar to the following throughout the app JS .ajax type GET url Home GetSomePartialView data someArguments success function viewHTML #someDiv .html viewHTML error function errorData onError errorData Controller C# public ActionResult.. error function errorData onError errorData Controller C# public ActionResult GetSomePartialView SomeArgumentModel someArguments return PartialView _CaseManager This works great. The viewHTML in the ajax success function is returned as a string and.. So to do this I would like to do the following Controller C# public ActionResult GetSomePartialView SomeArgumentModel someArguments ReturnArgs r new ReturnArgs bool isAllowed CheckPermissions if isAllowed r.Status 400 good status ... proceed normally..
|