When you render the partial view, use the ViewData"Category" as the model that you pass to the control % Html. RenderPartial( "MyUserControl", ViewData"Category", ViewData ); %.
When you render the partial view, use the ViewData"Category" as the model that you pass to the control.
Exactly what I was looking for, thanks! – codette Apr 10 '09 at 3:14.
I think the problem is that he is using the same model for the partial view as for the page. According to the definitions, they should be different models entirely and I think he just needs to use a signature that allows him to pass the correct model into the partial. – tvanfosson Apr 10 '09 at 3:14.
A generic list of type A is not assignable to a generic list of type B (where B is derived from A). This is a general rule for all generic collections in .Net.
Layout = "~/Views/Shared/_Layout. SearchResult sr in Model. BeginForm("Search", "Home", FormMethod.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.