A
AAaron123
I have a site where most of the pages use a master.
However, I have one page that does not.
I don't know if that's relevant, but
In the aspx file I have:
<form id="form1" runat="server">
<asp:Literal id="literalList" runat="server" />
....
In the code behind I have:
....
literalList.Text = sb.ToString()
And I get the error:
literalList is not declared
I do similar thing in other page with no problem.
Can you suggest what might be wrong?
Thanks
However, I have one page that does not.
I don't know if that's relevant, but
In the aspx file I have:
<form id="form1" runat="server">
<asp:Literal id="literalList" runat="server" />
....
In the code behind I have:
....
literalList.Text = sb.ToString()
And I get the error:
literalList is not declared
I do similar thing in other page with no problem.
Can you suggest what might be wrong?
Thanks