asp.net mvc - partial view rendering -
i have partial view in foo folder. want show on home/index view. using partial render , trying locate in temp folder. how write renderpartial render foo\partial view ?
regards, asif hameed
to render specify path in renderpartial this:
<%html.renderpartial("~/areas/fooarea/views/foo.ascx");%>
obviously replace example path path actual foo partial view.
Comments
Post a Comment