Server Error in '/' Application.

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS1061: 'NewCMS.Public.Core.Modules.NewBlockModel' does not contain a definition for 'colSize' and no extension method 'colSize' accepting a first argument of type 'NewCMS.Public.Core.Modules.NewBlockModel' could be found (are you missing a using directive or an assembly reference?)

Source Error:


Line 7:      <%foreach (var story in model.BlockStorylines)
Line 8:        { %>
Line 9:      <div class="<%=model.colSize %>">
Line 10:         <div class="news-block" style="<%# ModuleStylesheet%>">
Line 11:             <div class="news-block-head" style="margin-top: 20px; border-bottom: 2px solid #ddd;">

Source File: e:\WebDeploy\NewCMS.FrontEnd_BVMT_2016\Cms_Resources\Modules\Home\NewsBlock.ascx    Line: 9






Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.2106.0