Re: render blocks

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: bruce barker (nospam_brubar_at_safeco.com)
Date: 03/09/04


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/



Relevant Pages

  • RE: Trojan of somesort - Update
    ... getting warez libraries. ... FTP servers and try to create tag directories or files. ... the crew that found the open server. ... Grim's Ping) in a few months of any anonymous FTP server log and there ...
    (Incidents)
  • Re: problems with my web application
    ... An application error occurred on the server. ... This <customErrors> tag should then have its ... connection string is registered in web.config. ...
    (microsoft.public.dotnet.csharp.general)
  • Re: [9fans] Re: some Plan9 related ideas
    ... I redefined use of the same tag to mean "you have to finish the ... blocks for whatever reason, the remote server ... I was thinking that the server could use the fid to avoid ... If you mean readf and writef, those weren't kernel changes. ...
    (comp.os.plan9)
  • problems with my web application
    ... my .aspx files run locally fine but when i deploy to webserver i get ... An application error occurred on the server. ... This tag should then have its ... connection string is registered in web.config. ...
    (microsoft.public.dotnet.csharp.general)
  • Re: [9fans] Re: some Plan9 related ideas
    ... > blocks for whatever reason, the remote server ... > doesn't try to run the Tread and send back a "fid not in use" ... > each tag instead of a single request. ... >> And I'm still curious what kernel changes nemo was talking about. ...
    (comp.os.plan9)