Parser Error - thinks <EPiServer:Content is a property

jno
jno
Vote:
 
Parser Error Message: Type 'ASP.LMAFramework_ascx' does not have a property named 'EPiServer:Content'. In my aspx-pages I want to change a region to use another user control than in the framework-file. But no pages allow any kind of tags inside the framework... Has something gone wrong with my installation - I can not see that anything is wrong in the code, it's not my first EPiServer-site and they look the same. Has anyone encountered the same mysterious error?? My code: Line 5: Line 6:
#12349
Mar 25, 2008 18:34
Vote:
 
Have you done any changes to the code behind file of the framework file? The error looks like if you have set the ParseChildren attribute of the framework class to true.
#14105
Mar 25, 2008 18:44
jno
Vote:
 
Yes, I set the class to UserControlBase (instead of EPiServer.WebControls.ContentFramework), like the other user controls - bad move. Now it works. Thanks for the tip!
#14106
Mar 25, 2008 18:44