November Happy Hour will be moved to Thursday December 5th.

Parser Error - thinks <EPiServer:Content is a property

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
Sep 01, 2005 14:51
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
Sep 01, 2005 17:51
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
Sep 02, 2005 15:32
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.