Re: render blocks
From: bruce barker (nospam_brubar_at_safeco.com)
Date: 03/09/04
- Next message: bruce barker: "Re: Buggy .NET"
- Previous message: Steve C. Orr [MVP, MCSD]: "Re: Best Practices for File Access"
- In reply to: Temo: "render blocks"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 8 Mar 2004 16:27:27 -0800
asp.net does not support <%= value %> syntax inside a server control tag
(any tag with runat=server). <%= value %> is a shortcut for
<%Response.Write(value) %>, which makes no sense inside a server tag.
on the other hand, the eval tag <%# expression %> is allowed in a server
tag.
-- bruce (sqlwork.com)
"Temo" <temo_chalasani@yahoo.com> wrote in message
news:opr4knzo0r2apxyb@news.videotron.ca...
>
> Can someone tell me what's wrong with using this to create a textbox?
>
> <%
> int width=100;
> %>
> <asp:TextBox runat="server" id="boom" width="<%=width%>"></asp:TextBox>
>
>
> Thanks,
> Temo
> --
> Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
- Next message: bruce barker: "Re: Buggy .NET"
- Previous message: Steve C. Orr [MVP, MCSD]: "Re: Best Practices for File Access"
- In reply to: Temo: "render blocks"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|