Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I have a partial view with out using any custom model just a list and a script to test some jquery code I just need to insert this in a single page so I have created a partial view Macro to render it in a page RTE.
@inherits Umbraco.Web.Macros.PartialViewMacroPage @{Html.Partial("/Views/Partials/teststeps.cshtml");}
Then i have insert this macro in RTE and published , I get below error
Cannot bind source type Umbraco.Web.Models.PartialViewMacroModel to model type Umbraco.Web.Models.RenderModel.
I don't use any Model so how do i sort this please
Hi Pat
Can you show Partial view code?
Thanks,
Alex
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
render a partial view without any Model using macro
I have a partial view with out using any custom model just a list and a script to test some jquery code I just need to insert this in a single page so I have created a partial view Macro to render it in a page RTE.
Then i have insert this macro in RTE and published , I get below error
Cannot bind source type Umbraco.Web.Models.PartialViewMacroModel to model type Umbraco.Web.Models.RenderModel.
I don't use any Model so how do i sort this please
Hi Pat
Can you show Partial view code?
Thanks,
Alex
is working on a reply...