Click here to Skip to main content
15,892,517 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Type.GetType() Pin
Mircea Grelus21-Jul-06 10:23
Mircea Grelus21-Jul-06 10:23 
GeneralRe: Type.GetType() Pin
Felipe Dalorzo21-Jul-06 10:40
Felipe Dalorzo21-Jul-06 10:40 
GeneralRe: Type.GetType() Pin
Mircea Grelus21-Jul-06 12:53
Mircea Grelus21-Jul-06 12:53 
Questionreporting tool with printing option Pin
cdotpal21-Jul-06 6:07
cdotpal21-Jul-06 6:07 
AnswerRe: reporting tool with printing option Pin
Dustin Metzgar21-Jul-06 8:49
Dustin Metzgar21-Jul-06 8:49 
GeneralRe: reporting tool with printing option Pin
cdotpal26-Jul-06 6:40
cdotpal26-Jul-06 6:40 
AnswerRe: reporting tool with printing option Pin
Frank Kerrigan21-Jul-06 13:14
Frank Kerrigan21-Jul-06 13:14 
QuestionJavascript is making my hair fall out Pin
gantww21-Jul-06 5:14
gantww21-Jul-06 5:14 
I'm trying to play around with Lightbox (http://www.huddletogether.com/projects/lightbox2/). Anyway, I'm working on an existing site with a single master page. I attempt to add the following to my page:

<script type="text/javascript" src="~/js/prototype.js" runat="server"></script>
<script type="text/javascript" src="~/js/scriptaculous.js?load=effects" runat="server"></script>
<script type="text/javascript" src="~/js/lightbox.js" runat="server"></script>

Now, I get hundreds of build errors. If I take these links back out, they go away. I've found that it is because of the runat=server attribute (because if I take it out and use the "../" syntax, things work again). Now, I'd like to be able to reference these scripts using the "~/" syntax that is common in ASP.NET, but I can't figure out how to make that happen without build errors. Any ideas? It's not a particularly big deal, but I think it's important for me to understand WHY it doesn't work.

Thanks,
Will
GeneralRe: Javascript is making my hair fall out Pin
User 171649221-Jul-06 8:30
professionalUser 171649221-Jul-06 8:30 
GeneralRe: Javascript is making my hair fall out Pin
gantww21-Jul-06 8:43
gantww21-Jul-06 8:43 
QuestionEmpty text box - want to save as a null value Pin
widget121-Jul-06 4:47
widget121-Jul-06 4:47 
AnswerRe: Empty text box - want to save as a null value Pin
Grapes-R-Fun21-Jul-06 14:52
Grapes-R-Fun21-Jul-06 14:52 
QuestionHelp catch speeling errors in code..... Pin
Are Jay21-Jul-06 4:27
Are Jay21-Jul-06 4:27 
AnswerRe: Help catch speeling errors in code..... Pin
Grapes-R-Fun21-Jul-06 14:59
Grapes-R-Fun21-Jul-06 14:59 
GeneralRe: Help catch speeling errors in code..... Pin
Are Jay24-Jul-06 4:10
Are Jay24-Jul-06 4:10 
QuestionHome my Web-Appl is ok, and through Inet - fails. Help, please! Pin
HilSoft21-Jul-06 4:23
HilSoft21-Jul-06 4:23 
QuestionHaving problem with "Unable to Load DLL" error Pin
Sayed Muhammad Imran21-Jul-06 3:19
Sayed Muhammad Imran21-Jul-06 3:19 
AnswerRe: Having problem with "Unable to Load DLL" error Pin
mnaveed21-Jul-06 4:19
mnaveed21-Jul-06 4:19 
QuestionHow to block a malicous user? Pin
Barry Etter21-Jul-06 3:19
Barry Etter21-Jul-06 3:19 
AnswerRe: How to block a malicous user? Pin
mnaveed21-Jul-06 4:06
mnaveed21-Jul-06 4:06 
GeneralRe: How to block a malicous user? Pin
Grapes-R-Fun21-Jul-06 15:03
Grapes-R-Fun21-Jul-06 15:03 
AnswerRe: How to block a malicous user? Pin
minhpc_bk21-Jul-06 17:12
minhpc_bk21-Jul-06 17:12 
AnswerRe: How to block a malicous user? Pin
Jeremy Falcon26-Jul-06 14:53
professionalJeremy Falcon26-Jul-06 14:53 
QuestionRetrieving the Cell value Pin
VenkataRamana.Gali21-Jul-06 2:45
VenkataRamana.Gali21-Jul-06 2:45 
AnswerRe: Retrieving the Cell value Pin
mnaveed21-Jul-06 2:50
mnaveed21-Jul-06 2:50 

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.