Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Error in ASP.NET 2.0 script processing?

Reply
Thread Tools

Error in ASP.NET 2.0 script processing?

 
 
Paul Devenney
Guest
Posts: n/a
 
      11-29-2005
I have the following section of code inside my aspx page

<link rel="stylesheet" type="text/css"
href="/Web/Css/<%=GetStyleSheet()%>.css" />

This code rendered find in ASP.NET 1.1, and

<link rel="stylesheet" <%=GetStyleSheet()%> type="text/css"
href="/Web/Css/test.css" />

and

<title><%=GetStyleSheet()%></title>

all render as expected. The offending item renders as

<link rel="stylesheet" type="text/css"
href="/WaterstonsWeb/Css/&lt;%=GetStyleSheet()%>.css" />

is this a bug in .NET 2?

cheers,

Paul


 
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
How to execute a script from another script and other script does notdo busy wait. Rajat Python 3 01-08-2010 02:05 PM
RE: How to execute a script from another script and other script doesnotdo busy wait. VYAS ASHISH M-NTB837 Python 2 01-07-2010 08:18 PM
Error when python script run as cgi script sophie_newbie Python 3 10-22-2007 05:39 PM
error when using <% %>and <script></script> tags -Karl ASP .Net 2 06-18-2007 02:55 PM
Odd script error when using client script callbacks (ASP.NET 2.0) =?Utf-8?B?TG93bGFuZGVy?= ASP .Net 0 03-27-2007 10:30 PM



Advertisments