I have a partial view that is getting rendered two times on a page.
Inside the partial view I want to render a div based on a condition. I want to be able to pass this condition (the bool value) into the view but it is not in the model.
Can I pass additional parameters along with the model somehow?
F.e. something like this:
<partial name="DetailPartials/_HeaderPartial" model="Model" /*[shouldRenderDiv=true]*/ />
thanks in advance