Why is my ASP.NET Action looking for the wrong View?
问题 I have a simple action: public ActionResult CommentError(string error) { return View(error); } I have a simple partial view called CommentError.ascx: <%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<String>" %> <%: Model %> When I browse to the view directy by going to myurl.com/find/Comments/CommentError the view displays fine... no errors. But, when I go to myurl.com/find/Comments/CommentError?error=SomeErrorString , instead of binding the querystring to string error , it