I'm not sure, but I think it has something to do with
the table having the runat=server. Remove it and you
will see a change in your error. The new error refers
to the variable 'ColumnCheck' as being undeclared. I
don't think making it public in code-behind makes it
public in the page, although I could be wrong.
Mark
--- PogoWolf <[EMAIL PROTECTED]> wrote:
>
> I"m getting this error.. and pulling my hair out as
> to WHY
>
>
> 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: Code blocks are not supported
> in this context.
>
> Source Error:
>
>
>
> Line 49:
> <TABLE id="HRAForm1" align=center cellSpacing="1"
> cellPadding="1" border="1"
> runat="server" style="WIDTH: 100%; HEIGHT: 100%"
> bgColor="silver">
>
> Line 50:
> <TR>
>
> Line 51:
> <%
>
> Line 52:
> IF LEN(ColumnCheck) = 0 THEN
>
> Line 53:
> Response.Write ("<TD style='WIDTH: 50%;'>")
>
> Source File:
>
c:\inetpub\wwwroot\onward_plus_dotnet\ClientAdminTool\ContractSetup\paper\Fr
> m_Paper_GatherData.aspx Line: 51
>
>
>
> Line 51 - 57
> <%
> IF LEN(ColumnCheck) = 0 THEN
> Response.Write ("<TD style='WIDTH: 50%;'>")
> ELSE
> Response.Write("<TD>")
> END IF
> %>
>
>
> can anyone explain why I'm getting this error?
> (FYI, ColumnCheck is public on the code behind)
>
>
>
>
> [Non-text portions of this message have been
> removed]
>
>
>
>
>
---------------------------------------------------------------------
Home : http://groups.yahoo.com/group/active-server-pages
---------------------------------------------------------------------
Post : [email protected]
Subscribe : [EMAIL PROTECTED]
Unsubscribe: [EMAIL PROTECTED]
---------------------------------------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/active-server-pages/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/