Problem mixing webforms into ASP.NET MVC application -


i've been trying idea of taking existing asp.net webforms application , converting hybrid going forward, can asp.net mvc.

in order this, created asp.net mvc application , started copying of folders asp.net webforms projects contain webforms. i'm having problem building resulting project getting hundreds of compile errors of form:

error   1951    'documents_admin_docpushbytag' not contain definition 'ctlcategorylist' , no extension method 'ctlcategorylist' accepting first argument  of type 'documents_admin_docpushbytag' found (are missing using directive or assembly reference?) 

each of these error messages refer server controls in markup. it's if mark-up not getting parsed? when edit 1 of code behind files , type this. see intellisense recognizes, these controls don't appear. event handlers (but must because defined in code behind file). far can tell, codefile , inherits page attributes correct (and unchanged asp.net project whence came). i'm mystified causing problem. ideas? tia.

check out how scott hanselman it:
http://www.hanselman.com/blog/pluginhybridsaspnetwebformsandaspmvcandaspnetdynamicdatasidebyside.aspx

basicallly, you'd use ignoreroute exclude of webforms being routed mvc handler


Comments

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -