title: How to return partialView in OnActionExecutiong?
body: <p>Im a bit confused if some session variable is empty i want to result in to a partial view instead of redirectResult. Is it possible? if so how? i can see that there are a PartialViewResult, but i cant figure out how to use it.   </p>
  
  <pre><code> public class XXActionFilter : ActionFilterAttribute, IActionFilter
      {
          public override void OnActionExecuting(ActionExecutingContext filterContext)
          {
              HttpContext context = HttpContext.Current;
  
              if ((context.Session[item] == null))
              {
                  filterContext.Result = my partial view
                  return;              
              }
  
  
              base.OnActionExecuting(filterContext);
          }
      }
  </code></pre>