I am getting an error in my viewuser control:
Could not load type 'System.Web.Mvc.ViewUserControl'
My viewpage passes the MyViewUserControllerUserList class in the RenderPartial call.
So I am doing:
- action creates its strongly typed view data, which has a property which is a strongly typed class that my userlist.ascx expects.
userlist.ascx:
Inherits="System.Web.Mvc.ViewUserControl<MyViewUserControllerUserList>"
Am I doing this correctly?
Update
Just to make sure, my code for my strongly typed partial user control is:
public class MyViewUserControllerUserList: ViewUserControl
{
}