V
Vince
I have this code that appears at the top of every page
I have tried putting this into my master page, however, the error
message doesnt appear when I do this even though I have the variables
declared in the other pages.
<asp:Content id="contentErrors" ContentPlaceHolderID="siteErrors"
runat="server">
<% if (pageErrors) { %>
<div class="siteError">
<h2>Error</h2><em><%=pageError %></em>
</div>
<% } %>
</asp:Content>
I could use an iframe and link a error.aspx page within it and pass
the values as parameters via the URL, but this seems cumbersome to me.
Any suggestions?
I have tried putting this into my master page, however, the error
message doesnt appear when I do this even though I have the variables
declared in the other pages.
<asp:Content id="contentErrors" ContentPlaceHolderID="siteErrors"
runat="server">
<% if (pageErrors) { %>
<div class="siteError">
<h2>Error</h2><em><%=pageError %></em>
</div>
<% } %>
</asp:Content>
I could use an iframe and link a error.aspx page within it and pass
the values as parameters via the URL, but this seems cumbersome to me.
Any suggestions?