Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Script tags in ASPX files

Reply
Thread Tools

Script tags in ASPX files

 
 
Flodpanter
Guest
Posts: n/a
 
      12-01-2006
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?

 
Reply With Quote
 
 
 
 
Masudur
Guest
Posts: n/a
 
      12-01-2006

Flodpanter wrote:
> 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/micro...d5c6470a55c186

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

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
error when using <% %>and <script></script> tags -Karl ASP .Net 2 06-18-2007 02:55 PM
Closing tags within <script></script> Jeffrey HTML 10 10-15-2006 01:33 PM
adding main.aspx.vb & main.aspx.resx under aspx John M ASP .Net 1 05-29-2005 09:27 PM
Using <Script> tags to calls a script from another server Chuck ASP .Net 2 11-12-2004 10:57 PM
<SCRIPT>........</SCRIPT> tags in NN4.75 Madhav Javascript 1 07-01-2003 11:00 AM



Advertisments