With the Razor view engine in MVC3,
Is it possible to render a legacy ascx?
I was expecting to be able to do something like:
@Html.RenderPartial("Footer.ascx")
Yes. Try this instead:
@Html.Partial("Footer")
or
@{ Html.RenderPartial("Footer"); }
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With