Convert use cusom control in ASP.NET to MVC3 Razor

2019-06-14 01:49发布

问题:

I use the custom control like the following in ASP.NET:

<%@ Register Assembly="JQControls" Namespace="JQControls" TagPrefix="custom" %>

<custom:JQLoader runat="server"></custom:JQLoader>
<custom:JQDatePicker Regional="fa" runat="server"></custom:JQDatePicker>

So how can I use this control in MVC3 Razor view?