model - MVC Parital view ID to render another partival view -
my mvc page has parent view show parish page. every parish has multiple churches , every church has own mass times. parish page has churches partial view want use church id render parital view of mass times (stored procidure). how can use id of partial view , create anothe partial view. had been banging head unable resolved.
render partial view in side div tag. use div id , clone div create partial view. see below code sample.
<div id="someid"> //render partial view here. </div>
clone div , create many partial view u need.
Comments
Post a Comment