473,385 Members | 1,834 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,385 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 1501
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
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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,...

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.