Reputation: 267
Is there anyway to allow asp tags in chtml MVC pages? Do I have to declare something in the view itself? I know its possible to have an aspx page in the solution, but I would like to combine controls in the chtml page.
Example:
@using (Html.BeginForm())
{
<asp:calander>...
etc
Upvotes: 0
Views: 133
Reputation: 11201
Actually Razor does not support WebForm controls, but you need to see Scott Hanselman's example if you really want to mix n match
Upvotes: 3