Unknown server tag in webformsmvp

87 views Asked by At

** Updated **

  • For some reason cutting and pasting the web.config did it.

I'm trying to use the mvp:pagedatasource control

<mvp:PageDataSource ID="odsReplacementRequests" runat="server" EnablePaging="true">

but I get an

"Unknown server tag 'mvpPageDataSource' error on the page.

I installed this using nuget manager and have the webformsmvp assembly. My user control also inherits from the mvp:usercontrol

    <pages>
        <controls>
            <add tagPrefix="mvp" namespace="WebFormsMvp.Web" assembly="WebFormsMvp" />
            <add tagPrefix="mvp" namespace="WebFormsMvp" assembly="WebFormsMvp" />
        </controls>         
    </pages>




 [PresenterBinding(typeof(GPReplacementRequestsPresenter))]
    public partial class Controls_GPReplacementList :  MvpUserControl<GPReplacementRequestsModel>, IGPReplacementRequestsView

{ 

    /// <summary>
    /// Page Load
    /// </summary>
    protected void Page_Load(object sender, EventArgs e)
    {

    }


}
0

There are 0 answers