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: 'GreenGage.Business.Event' does not contain a definition for 'IsTemplateHub' and no extension method 'IsTemplateHub' accepting a first argument of type 'GreenGage.Business.Event' could be found (are you missing a using directive or an assembly reference?)

Source Error:


Line 314:            // Can't seem to override SessionHandler.ReverseSortDirection as set in EventMasterHandler call!
Line 315:            string orderBy = "DatePosted";
Line 316:            SortDirection sortDirection = !IsPostBack && SessionHandler.ReverseSortDirection && !SessionHandler.CurrentEvent.IsTemplateHub
Line 317:                ? SortDirection.Ascending
Line 318:                : SortDirection.Descending;

Source File: c:\home\site\wwwroot\EventWebsites\eyinduction2021\Forum\Default.aspx.cs    Line: 316





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