473,413 Members | 1,778 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,413 software developers and data experts.

img tag and designer problem

Hi,

This is my set up...

Root (.aspx file for non-authenticated users)
Root\Members (.aspx files for authenticated users)
Root\Images (images for entire web site)

My MasterPage resides in Root.

I would like my masterpage to contain html img tags (as opposed to .net img
server controls). This is to save overhead on my server.

I have set the "Src" property of the HTML image tags to
"/Images/myimage.gif". This seems to work fine and all pages from root and
root/members display images fine when browsing with a broswer. However, in my
VS2005 designer mode the images dont show. I love the new MasterPages concept
but would love them even more if I could get the images to display when in
design mode giving me a pretty close wysiwyg at design time.

Please help! pretty please!

Regards,

Paul.
Nov 8 '05 #1
4 1502
CT
I have the same setup here, but I use "Images/myimage.gif" for the src
attribute, i.e. no slash at the beginning.

--
Carsten Thomsen
Communities - http://community.integratedsolutions.dk
---------
Voodoo Programming: Things programmers do that they know shouldn't work but
they try anyway, and which sometimes actually work, such as recompiling
everything. (Karl Lehenbauer)
---------
"Paul Hale" <Pa******@newsgroups.nospam> wrote in message
news:B8**********************************@microsof t.com...
Hi,

This is my set up...

Root (.aspx file for non-authenticated users)
Root\Members (.aspx files for authenticated users)
Root\Images (images for entire web site)

My MasterPage resides in Root.

I would like my masterpage to contain html img tags (as opposed to .net
img
server controls). This is to save overhead on my server.

I have set the "Src" property of the HTML image tags to
"/Images/myimage.gif". This seems to work fine and all pages from root and
root/members display images fine when browsing with a broswer. However, in
my
VS2005 designer mode the images dont show. I love the new MasterPages
concept
but would love them even more if I could get the images to display when in
design mode giving me a pretty close wysiwyg at design time.

Please help! pretty please!

Regards,

Paul.

Nov 8 '05 #2
Yes sorry I also use "Images/myimage.gif" (forgive typo). Works fine when in
runtime but does not show the image when in vs design mode. This is what im
trying to solve. Thanks for response.

"CT" wrote:
I have the same setup here, but I use "Images/myimage.gif" for the src
attribute, i.e. no slash at the beginning.

--
Carsten Thomsen
Communities - http://community.integratedsolutions.dk
---------
Voodoo Programming: Things programmers do that they know shouldn't work but
they try anyway, and which sometimes actually work, such as recompiling
everything. (Karl Lehenbauer)
---------
"Paul Hale" <Pa******@newsgroups.nospam> wrote in message
news:B8**********************************@microsof t.com...
Hi,

This is my set up...

Root (.aspx file for non-authenticated users)
Root\Members (.aspx files for authenticated users)
Root\Images (images for entire web site)

My MasterPage resides in Root.

I would like my masterpage to contain html img tags (as opposed to .net
img
server controls). This is to save overhead on my server.

I have set the "Src" property of the HTML image tags to
"/Images/myimage.gif". This seems to work fine and all pages from root and
root/members display images fine when browsing with a broswer. However, in
my
VS2005 designer mode the images dont show. I love the new MasterPages
concept
but would love them even more if I could get the images to display when in
design mode giving me a pretty close wysiwyg at design time.

Please help! pretty please!

Regards,

Paul.


Nov 8 '05 #3
CT
Hmm, do you have a placeholder instead of the graphics or nothing at all?

--
Carsten Thomsen
Communities - http://community.integratedsolutions.dk
---------
Voodoo Programming: Things programmers do that they know shouldn't work but
they try anyway, and which sometimes actually work, such as recompiling
everything. (Karl Lehenbauer)
---------
"Paul Hale" <Pa******@newsgroups.nospam> wrote in message
news:FB**********************************@microsof t.com...
Yes sorry I also use "Images/myimage.gif" (forgive typo). Works fine when
in
runtime but does not show the image when in vs design mode. This is what
im
trying to solve. Thanks for response.

"CT" wrote:
I have the same setup here, but I use "Images/myimage.gif" for the src
attribute, i.e. no slash at the beginning.

--
Carsten Thomsen
Communities - http://community.integratedsolutions.dk
---------
Voodoo Programming: Things programmers do that they know shouldn't work
but
they try anyway, and which sometimes actually work, such as recompiling
everything. (Karl Lehenbauer)
---------
"Paul Hale" <Pa******@newsgroups.nospam> wrote in message
news:B8**********************************@microsof t.com...
> Hi,
>
> This is my set up...
>
> Root (.aspx file for non-authenticated users)
> Root\Members (.aspx files for authenticated users)
> Root\Images (images for entire web site)
>
> My MasterPage resides in Root.
>
> I would like my masterpage to contain html img tags (as opposed to .net
> img
> server controls). This is to save overhead on my server.
>
> I have set the "Src" property of the HTML image tags to
> "/Images/myimage.gif". This seems to work fine and all pages from root
> and
> root/members display images fine when browsing with a broswer. However,
> in
> my
> VS2005 designer mode the images dont show. I love the new MasterPages
> concept
> but would love them even more if I could get the images to display when
> in
> design mode giving me a pretty close wysiwyg at design time.
>
> Please help! pretty please!
>
> Regards,
>
> Paul.


Nov 8 '05 #4
Hi Paul,

Welcome to Microsoft newsgroup!

I have performed the test from your description, but can not re-pro the
problem. I added the "img/microsoft.jpg" into the MasterPage.master, then I
created the new Webform applied the MasterPage. Both I browser the page and
modify it under the design view, the image displayed very well.
For the current stage, in order to repro your issue on my side, would you
please send me a simply demo project (zipped) if it is not inconvenient to
you (Please remove the "online" of my email address alias)?

Regards,

Yuan Ren
Microsoft Online Support

Nov 9 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: | last post by:
Hi, We have a form designed in the VS designer in C# and everytime we build on different machiens its chainging the .Location and .Size properties yet we are not changing anything in this. We...
2
by: crusell | last post by:
I'm having some problem with my Visual Studio.NET 2003 (.NET 1.1 SP1) install. I am unable to use the web forms designer with any aspx file whose form class inherits from a base class. I'm...
1
by: E. Tom Jorgenson | last post by:
I've run into a problem on a couple of projects that I think I've identified - but would like confirmation of what I think is going on. Also interested in any fast solutions to fix the user...
4
by: Dave Taylor | last post by:
I've been using the dataset designer in Visual Studio to create typed datasets for my application by dragging over tables from the Server Explorer and dropping them into the designer. The problem...
4
by: Rod Gill | last post by:
Hi, I have a form that when opened in the designer appears of the screen. The form selector can't be dragged (or resized) and if I scroll right and down to centralise it the form simply jumps...
7
by: Dino Buljubasic | last post by:
I am having a problem when trying to view a form in desing view. If a form has any error or warning, the design view will not open the form. Anybody knows how to fix this error? Thank you...
1
by: Lucien Dol | last post by:
Hi all, Can someone help me with this, please? I've got a user control that (amongst other controls) contains a textbox. The textbox has its Anchor property set to "Left, Top, Right", meaning...
2
by: Bill nguyen | last post by:
Suddenly a new file was added to forms that I created in the last 2 days. I created and named a form frmDTDownload. In Solution Explorer, now I have frmDTNDownload.vb frmDTNDownload.Designer.vb...
4
by: ThunderMusic | last post by:
Hi, I have a custom form that works fine when I debug it or run it in release mode but cannot be loaded in the designer... Actually, it can be loaded in the designer when no control is on it, but...
4
by: Goran Djuranovic | last post by:
Hi all, I am experiencing a strange thing happening with a "designer.vb" page. Controls I manually declare in this page are automatically deleted after I drop another control on a ".aspx" page. -...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
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,...
0
jinu1996
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...
0
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...
0
tracyyun
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
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...
0
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.