By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,984 Members | 1,423 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,984 IT Pros & Developers. It's quick & easy.

~ refer to which directory

P: n/a
I see a src= ~/BLahBlah/foo.ascx. I wonder which directory ~ refers to?

May 31 '07 #1
Share this Question
Share on Google+
5 Replies


P: n/a
It's the virtual path of the application directory

--
Regards,
Alvin Bruney
------------------------------------------------------
Shameless author plug
Excel Services for .NET is coming...
https://www.microsoft.com/MSPress/books/10933.aspx
OWC Black Book www.lulu.com/owc
Professional VSTO 2005 - Wrox/Wiley
<go***********@gmail.comwrote in message
news:11*********************@u30g2000hsc.googlegro ups.com...
>I see a src= ~/BLahBlah/foo.ascx. I wonder which directory ~ refers to?

May 31 '07 #2

P: n/a

<go***********@gmail.comwrote in message
news:11*********************@u30g2000hsc.googlegro ups.com...
>I see a src= ~/BLahBlah/foo.ascx. I wonder which directory ~ refers to?
The root directory of the application. So BlahBlah would be a subdirectory
in the root.

Mike
May 31 '07 #3

P: n/a
It refers to the web root of your web application.
Here's more info:
http://authors.aspalliance.com/remas...eatures/Tilde/

--
I hope this helps,
Steve C. Orr,
MCSD, MVP, CSM, ASPInsider
http://SteveOrr.net
<go***********@gmail.comwrote in message
news:11*********************@u30g2000hsc.googlegro ups.com...
>I see a src= ~/BLahBlah/foo.ascx. I wonder which directory ~ refers to?
May 31 '07 #4

P: n/a
Sorry, I think my answer was wrong.

--
Regards,
Alvin Bruney
------------------------------------------------------
Shameless author plug
Excel Services for .NET is coming...
https://www.microsoft.com/MSPress/books/10933.aspx
OWC Black Book www.lulu.com/owc
Professional VSTO 2005 - Wrox/Wiley
"Alvin Bruney [MVP]" <some guy without an email addresswrote in message
news:%2****************@TK2MSFTNGP04.phx.gbl...
It's the virtual path of the application directory

--
Regards,
Alvin Bruney
------------------------------------------------------
Shameless author plug
Excel Services for .NET is coming...
https://www.microsoft.com/MSPress/books/10933.aspx
OWC Black Book www.lulu.com/owc
Professional VSTO 2005 - Wrox/Wiley
<go***********@gmail.comwrote in message
news:11*********************@u30g2000hsc.googlegro ups.com...
>>I see a src= ~/BLahBlah/foo.ascx. I wonder which directory ~ refers to?


May 31 '07 #5

P: n/a
KJ
~ is always the application root dir

<go***********@gmail.comwrote in message
news:11*********************@u30g2000hsc.googlegro ups.com...
>I see a src= ~/BLahBlah/foo.ascx. I wonder which directory ~ refers to?

Jun 1 '07 #6

This discussion thread is closed

Replies have been disabled for this discussion.