CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > visual_studio.visual_web_developer_2005_express Tags:
Item Type: NewsGroup Date Entered: 10/5/2005 2:49:06 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 1 Views: 20 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
2 Items, 1 Pages 1 |< << Go >> >|
fUNKYgIBBON
Asp.Net User
relative addressing in VWD10/5/2005 2:49:06 PM

0/0

Hi,

I'm having problems addressing graphics files in a relative manner.
I understand that you can use "~/pic/image.jpg" when the graphic is being used by a server control, but when its just plain old HTML, I'm unable to access any file unless I hard wire it as (for example) c:/pic/image.jpg
How do I attach graphics in a relative manner when using the VWD built in server so that I don't have to redo a bunch of html when the app is ready to be moved to a server?

thanks
danmor
Asp.Net User
Re: relative addressing in VWD10/6/2005 6:09:11 PM

0/0

If you have a page Default.aspx on your web root, and your pictures are in a folder named "images" then you should just be able to set src="images/image.jpg" (without the drive letter).  If that's not working we need more details about the problem.  What type of page (HTML or ASPX) contains your image?  What tag (<img>, <asp:image>) are you using to display the image?

There was an ASP.NET security patch released a few months ago which prevented images from displaying when the SRC attribute contained "..\", or ending with a trailing slash, so make sure you aren't using that nomenclature.


-Dan
This posting is provided "AS IS" with no warranties, and confers no rights.
2 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Hemostasis and Thrombosis: Basic Principles and Clinical Practice Authors: Robert W. Colman, Victor J. Marder, Alexander W. Clowes, James N. George, Samuel Z. Goldhaber, Pages: 1827, Published: 2005
Thrombosis and Hemorrhage Authors: Joseph Loscalzo, Andrew I. Schafer, Pages: 1142, Published: 2002
Pediatric hematology Authors: Robert Arceci, Ian M. Hann, A. Victor Hoffbrand, Owen P. Smith, Pages: 840, Published: 2006
Platelets Authors: Alan D. Michelson, Pages: 1343, Published: 2006
Beginning ASP.NET 3.5: In C# and VB Authors: Imar Spaanjaars, Pages: 734, Published: 2008
Pediatric hematology Authors: John S. Lilleyman, Ian M. Hann, Victor S. Blanchette, Pages: 834, Published: 1999
Clinical Laboratory Medicine Authors: Kenneth D. McClatchey, Pages: 1693, Published: 2001
Coagulation and Blood Transfusion: Proceedings of the Fifteenth Annual Symposium on Blood Transfusion, Groningen, 1990 Authors: C. Th Smit Sibinga, P. C. Das, Pier Mannuccio Mannucci, Stichting Rode Kruis Bloedbank Groningen/Drente, Pages: 267, Published: 1991

Web:
Walkthrough: Creating a Web Page to Display Access Database Data Using the Microsoft Visual Web Developer Web development tool, you can create ... I am trying to use relative address ~/App_Data/Northwind.mdb but the test ...
Page_Load event executing twice, after Login : MS, VWD, 2005 ... You will be notified via email (sent to the address provided in your application ...

Welcome! ...
Visual Web Developer Team Blog : Web Development Updates in Visual ... Visual Studio 2008 SP1 and Visual Web Developer 2008 SP1 are now ... My email address is vinayr@microsoft.com, in case if you want to directly contact me. ...
How to find the relative popularity of virtual worlds | VWF blog ... Myrl is able to collect data on the relative popularity of virtual worlds by ... Email address: (* required but never published nor sold) ...
Blood -- VWD type 1: a calculated diagnosis In many instances, there is great overlap between VWD patients and normal individuals in both clinical and laboratory outcomes.1 To address these ...
Stumbling with MS Access Connection in VWD with c# - ASP.NET Forums I want to switch to VWD and MS Expression for all future website ... so we need to use something to translate relative path (which we know) ...
Blackwell Synergy - Br J Haematol, Volume 138 Issue 5 Page 665-666 ... Jun 29, 2007 ... We hope that this study will add significantly to the clinical/molecular awareness of PT-VWD and will address a long recognised problem of ...
Visual Web Developer Team Blog : Visual Basic perf fixes to issues ... I understand that having to call support to get a QFE is inconvenient relative to a public download. We create QFEs in order to quickly address issues that ...
VWD mon 2008.pub (Read-Only) creased level of FVIII relative to VWF is found in persons bearing one null. allele (heterozygotes for type 3 VWD) and also in persons with the sub- ...
Type 3 von Willebrand’s disease in a Shetland sheepdog Qualitative methods give an indication of the relative amounts of different sized multimers within the sample and are used to classify the subtype of vWD in ...





Search This Site:










inserting into two differnt tables

getting up and running on aspnix.com

localhost question

how to start a window service from aspx page then invoke one of its method

web.config: how do you encrypt a password for impersonate?

role based authentication

how to only get one value from a database table

call class

the same user in multiple portals

add a timer control

postpone/remove datasetdatasource control?

web.config confusion

running com on remote machine from web service

how would you make treeview nodes turn into textboxes to edit?

asp.net faqs page

problem for declare a const

destroy cookies when logoff

reading from iis metabase

default.aspx is not showed after login

web.config has little data

restore contrainer

detecting ip of client user

personal website starter kit in c#

provider design pattern and spec for asp.net 1.1

upgrade 4.0.0 starter kit to 4.0.1 starter kit

need to create a new skin

save text stream to client machine

use of theme skins?

what happens if i turn every controls viewstate off

error installing vw82008 express

 
All Times Are GMT