public static void SetView(string hash, string viewPath) { HttpContext.Current.Session[hash] = viewPath; } }
public static void SetView(Content content, string uiContextId, string view, string back) { string hash = ViewFrame.GetHashCode(content.Path, uiContextId); ViewFrame.SetView(hash, view); HttpContext.Current.Response.Redirect(back, true); }