In my ASP .NET Web Forms I have the following declarative code:
\' />
The problem is that you can't mix runat=server controls with <%= .. %>code blocks. The correct way would be to use code behind: txtbox.CssClass = TEXTBOX_CSS_CLASS;.
runat=server
<%= .. %>
txtbox.CssClass = TEXTBOX_CSS_CLASS;