/// <summary> /// Shows a child window. /// </summary> /// <param name="viewName">Name of the view.</param> /// <returns>A <see cref="ChildWindowResult"/> representing the command to show the child window. /// </returns> public virtual ChildWindowResult ChildWindow(string viewName) { var result = new ChildWindowResult(viewName, ViewEngines); PrepareViewResult(result); return(result); }
/// <summary> /// Shows a child window. /// </summary> /// <param name="viewName">Name of the view.</param> /// <returns>A <see cref="ChildWindowResult"/> representing the command to show the child window. /// </returns> public virtual ChildWindowResult ChildWindow(string viewName) { var result = new ChildWindowResult(viewName, ViewEngines); PrepareViewResult(result); return result; }