Click here to Skip to main content
15,920,438 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionStarting Web application using ASP.NET ! Pin
unitecsoft26-Jun-08 3:16
unitecsoft26-Jun-08 3:16 
AnswerRe: Starting Web application using ASP.NET ! Pin
eyeseetee26-Jun-08 3:19
eyeseetee26-Jun-08 3:19 
Questionperformance issues to dispaly the statistics Pin
gottimukkala26-Jun-08 2:56
gottimukkala26-Jun-08 2:56 
QuestionInvalid postback or callback argument. while using orethan one from tags in a web page Pin
kinnuP26-Jun-08 2:18
kinnuP26-Jun-08 2:18 
AnswerRe: Invalid postback or callback argument. while using orethan one from tags in a web page Pin
eyeseetee26-Jun-08 2:42
eyeseetee26-Jun-08 2:42 
GeneralRe: Invalid postback or callback argument. while using orethan one from tags in a web page Pin
kinnuP26-Jun-08 19:14
kinnuP26-Jun-08 19:14 
Questionbreaking point Pin
brettokumar26-Jun-08 2:04
professionalbrettokumar26-Jun-08 2:04 
AnswerRe: breaking point Pin
eyeseetee26-Jun-08 2:15
eyeseetee26-Jun-08 2:15 
GeneralRe: breaking point Pin
brettokumar26-Jun-08 3:27
professionalbrettokumar26-Jun-08 3:27 
GeneralRe: breaking point Pin
Christian Graus26-Jun-08 13:07
protectorChristian Graus26-Jun-08 13:07 
Questiongrid cursor point Pin
Member 387988126-Jun-08 1:53
Member 387988126-Jun-08 1:53 
AnswerRe: grid cursor point Pin
eyeseetee26-Jun-08 2:16
eyeseetee26-Jun-08 2:16 
QuestionPerformance Issues while populating datagrid Pin
zareee26-Jun-08 1:09
zareee26-Jun-08 1:09 
AnswerRe: Performance Issues while populating datagrid Pin
Christian Graus26-Jun-08 1:10
protectorChristian Graus26-Jun-08 1:10 
AnswerRe: Performance Issues while populating datagrid Pin
eyeseetee26-Jun-08 1:28
eyeseetee26-Jun-08 1:28 
QuestionThis is weird! [modified] Pin
Waleed Eissa26-Jun-08 0:10
Waleed Eissa26-Jun-08 0:10 
I'm creating a multilingual website so I'm trying to dynamically include the language related stylesheet. As you might have already expected, I do this in the page head using a link tag. Well, for some reason I'm not aware of, the code below doesn't work (when I move it outside the the page head, it works though!):

<link rel="stylesheet" href="/css/<%= _language.Stylesheet %>" type="text/css" media="screen" />

It gives this output:

<link rel="stylesheet" href="/css/&lt;% _language.Stylesheet %>" type="text/css" media="screen" />

On the other hand this code works perfectly:

<link rel="stylesheet" href=<%= string.Format("\"/css/{0}\"", _language.Stylesheet) %> type="text/css" media="screen" />


This is really weird, can anybody explain what's going on?!!

P.S. This is ASP.NET 2.0


UPDATE

When tried to remove runat="server" from the head tag, it actually worked! The problem is that I set the page title in my code so I have to keep runat="server" in the head tag, it seems like a bug to me, what do you think?


modified on Thursday, June 26, 2008 6:36 AM

AnswerRe: This is weird! Pin
Christian Graus26-Jun-08 0:19
protectorChristian Graus26-Jun-08 0:19 
GeneralRe: This is weird! Pin
Waleed Eissa26-Jun-08 0:29
Waleed Eissa26-Jun-08 0:29 
AnswerRe: This is weird! Pin
N a v a n e e t h26-Jun-08 16:09
N a v a n e e t h26-Jun-08 16:09 
GeneralRe: This is weird! Pin
Waleed Eissa27-Jun-08 3:00
Waleed Eissa27-Jun-08 3:00 
QuestionServer Application Error? Pin
bug_aonz25-Jun-08 23:26
bug_aonz25-Jun-08 23:26 
AnswerRe: Server Application Error? Pin
eyeseetee25-Jun-08 23:32
eyeseetee25-Jun-08 23:32 
Questionhow to populate a second dropdown list depend on the selection of 1st ddl Pin
Meax25-Jun-08 23:24
Meax25-Jun-08 23:24 
AnswerRe: how to populate a second dropdown list depend on the selection of 1st ddl Pin
eyeseetee25-Jun-08 23:30
eyeseetee25-Jun-08 23:30 
AnswerRe: how to populate a second dropdown list depend on the selection of 1st ddl Pin
Christian Graus25-Jun-08 23:36
protectorChristian Graus25-Jun-08 23:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.