Groups | Blog | Home
all groups > asp.net > november 2006 >

asp.net : Script tags in ASPX files


Flodpanter
11/30/2006 11:41:53 PM
Im trying to add a script tag(or whatever is is called) in my aspx
file. Basically Im trying do to something like this:

<asp:label id="label1" runat="server" Text="Hello!" Visible='<%#
ShowLabel%>' />

where ShowLabel is a property defined in my code behind file.

Apparently the ShowLabel is never evaluated. When in debug I never
enter the Get accessor of the property. Any suggestions or links to <%#
%> and <%= %> script tags?
Masudur
12/1/2006 4:00:20 AM

[quoted text, click to view]

Hi.

please visit this post... this will solve your problem
http://groups.google.com/group/microsoft.public.dotnet.framework.aspnet/browse_thread/thread/6feba6f743b8c093/7ed5c6470a55c186?lnk=st&q=&rnum=20&hl=en#7ed5c6470a55c186

Thanks
Masudur
Kaz Software Ltd.
www.kaz.com.bd
AddThis Social Bookmark Button