C
Cal Who
I have many files like this one with identical statements for the
MasterType, Content and for:
<div id="QQQ">
and for the script shown below.
A couple of those files cause the error:
Error 227 'QQQ' is not declared. It may be inaccessible due to its
protection level.
The following markup is from one of those files.
What could possibly be the problem with this file?
Thanks
<%@ Page Language="VB" MasterPageFile="~/Main.master"
AutoEventWireup="false" CodeFile="2010Events.aspx.vb"
Inherits="Calendar_2010Events" Title="View a Few Events" %>
<%@ MasterType TypeName="BaseMaster" %>
<asp:Content ID="Content8" ContentPlaceHolderID="BottomImageCPH"
runat="Server">
<div id="QQQ">
<h4>
2010 MEETINGS and OTHER EVENTS</h4>
<div runat="server" style="overflow: auto;" id="Events2010">
This text gets replaced</div>
</div>
<script type="text/javascript">
//Must be run after the element is rendered
SetMargins('<%=QQQ.ClientID%>');
</script>
</asp:Content>
No code in the code behind
MasterType, Content and for:
<div id="QQQ">
and for the script shown below.
A couple of those files cause the error:
Error 227 'QQQ' is not declared. It may be inaccessible due to its
protection level.
The following markup is from one of those files.
What could possibly be the problem with this file?
Thanks
<%@ Page Language="VB" MasterPageFile="~/Main.master"
AutoEventWireup="false" CodeFile="2010Events.aspx.vb"
Inherits="Calendar_2010Events" Title="View a Few Events" %>
<%@ MasterType TypeName="BaseMaster" %>
<asp:Content ID="Content8" ContentPlaceHolderID="BottomImageCPH"
runat="Server">
<div id="QQQ">
<h4>
2010 MEETINGS and OTHER EVENTS</h4>
<div runat="server" style="overflow: auto;" id="Events2010">
This text gets replaced</div>
</div>
<script type="text/javascript">
//Must be run after the element is rendered
SetMargins('<%=QQQ.ClientID%>');
</script>
</asp:Content>
No code in the code behind