|
by: Vadym Stetsyak |
last post by:
Hi, All!
For example if I have
http://server/myvirtualpath/someotherpath/page.asp
and virtual path on the IIS is http://server/myvirtualpath
How can I retrieve above mentioned asp application path. I need the same
functionality that has ASP.NET (Request.ApplicationPath)
|
by: Jim Corey |
last post by:
I've seen this same sort of code (below) on other posts. This works fine
for me on my development machine, but not when I move it to my hosted site.
When I view the source from my machine, I see:
src='/MyProjectFolder/Javascript/datepicker.js'
On the hosted site I get:
src='//Javascript/datepicker.js'
and it doesn't work.
Any ideas on...
|
by: martin |
last post by:
Hi,
I am developing a class to help my asp.net application along.
The class is part of a seperate project although this project is included in
the same solution as my main web application.
I wish to use the function "request.applicationpath" from inside my class.
In solution explorer I have right clicked on the references node and...
|
by: Kent P. Iler |
last post by:
Hi,
I used Request.ApplicationPath for referencing my images directory from
multiple levels. It worked great in my dev environment. However, when I
copied the project to my production server, the reference is completely
removing the server name. For example, an image tag should have the
reference...
|
by: ad |
last post by:
I want to get the Application path, I use the code:
string sDir = Request.ApplicationPath ;
It run well in code behind, but if I place the code above in Global.asax
like:
void Application_Start(Object sender, EventArgs e) {
string sDir = Request.ApplicationPath ;
}
|
|
by: Griff |
last post by:
I understand how to dynamically change the text of a label that appears in
the body tag by using code in the "code behind" page - one adds a <asp:label
id="labelToUpdate"/> tag.
However, I need to dynamically update the page title:
<html>
<head>
<title> <------------ !!!
</head>
</html>
|
by: Mark Olbert |
last post by:
I have some img tags on a master page which reference files in a top-level directory. They look like this:
<img src="assets/test.gif" id="gnr" />
assets is a subdirectory of the website root.
My problem is this: this kind of path reference in a master page won't work when the page using the master is not in the root
folder:
...
|
by: Chris |
last post by:
Hi,
When navigating to another site without closing the browser and then coming
back to the application, the images and css styles are lost.
So i did this for the images:
<img src="<%=Request.ApplicationPath%>/images/01.gif" />
and this works.
Now my css file (green.css) is in App_Themes/green and i refer to it from
|
by: CKKwan |
last post by:
Dear All,
Using VS2008 on Vista (IIS7). Request.ApplicationPath return something
like "http://localhost:50440/"
When deploy into Server 2003 (IIS6), found that
Request.ApplicationPath is returning "c:\\Inetpub\..."
May I know what has gone wrong?
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
|
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|