Script tags in ASPX files

F

Flodpanter

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?
 
M

Masudur

Flodpanter said:
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?

Hi.

please visit this post... this will solve your problem
http://groups.google.com/group/micr...c186?lnk=st&q=&rnum=20&hl=en#7ed5c6470a55c186

Thanks
Masudur
Kaz Software Ltd.
www.kaz.com.bd
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top