how to display using asp.net mvc
Posted
by kumar
on Stack Overflow
See other posts from Stack Overflow
or by kumar
Published on 2010-05-19T18:24:37Z
Indexed on
2010/05/19
19:40 UTC
Read the original article
Hit count: 223
ASP.NET
|asp.net-mvc
I have a partial view called StudentInfo.ascx. In it I have something like this:
<fieldset>
<legend>Students Information</legend>
<div>
<label>First Name:</label>
<label>Last Name:</label>
</div>
</fieldset>
I have another partial view called Detail.ascx which will need to display this StudentInfo.ascx. I did something like this:
<%= Html.RenderAction("StudentInfo"); %>
Is that right?
© Stack Overflow or respective owner