Server Error in '/' Application.

Parser Error

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

Parser Error Message: The base class includes the field 'imgBg', but its type (System.Web.UI.HtmlControls.HtmlGenericControl) is not compatible with the type of control (System.Web.UI.WebControls.Panel).

Source Error:


Line 27:     <div id="content" class="VOD-channel VOD-film clearfix ">
Line 28:         <div class="film-backFilme"> </div>
Line 29:             <asp:Panel runat="server" ID="imgBg" CssClass="visual">
Line 30:                 <div class="container VOD-box-film">
Line 31:                     <div class="col-md-6">

Source File: /canais/channel.aspx    Line: 29


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