Cannot resolve action 'xxx' from partial view.

When I use Html.BeginForm(MyRouteValueDictionary) from a partial view named something like CreatePartial.ascx, R# throws and error, "Cannot resolve action 'CreatePartial').

The same is also true from the same view if I explicitly pass the view name as a string: Html.BeginForm("Create").

To remedy, I've suppressed the issue by marking the "Unknown symbol" option under ASP.NET as "Do not show", but I feel I am losing some much needed functionality in doing so (like errors when I haven't created a view from an existing action).

Any thoughts would be greatly appreciated.

Hal

Please sign in to leave a comment.