473,425 Members | 1,671 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,425 software developers and data experts.

Images not displaying in designer

Not sure if this is the right group...but I'm going to try here anyways. I
have a problem that is driving me absolutely crazy. I'm starting a new
ASP.Net web application and I'm trying to add an image web control. No
matter what I do...when I point the imageurl to the picture I want to
display...the only thing that shows in the VS.Net designer is a small little
box with a red "X" in it. If I compile the project and ftp it up to my web
host...the image displays perfectly...but it always shows up and the little
red "X" in the designer. Does anyone have any ideas as to why?

The code on the webpage is all the default code that gets put in by
VS.Net....this is the code that gets entered for the image control:

<asp:Image id="Image1" style="Z-INDEX: 101; LEFT: 16px; POSITION: absolute;
TOP: 16px" runat="server"
ImageUrl="images/banner01.jpg"></asp:Image>

As I said...once the project is compiled and ftp'd to my web host...the
image displays properly...but it just won't in the designer view within
VS.Net. Even if I do a "view in browser" from the designer...it still will
not show up. I can also compile the project and try to view the webpage
local on my machine by browsing to //localhost/<project name> and the image
still will not display properly.

This is very annoying and is making trying to design the page properly very
difficult for me. Any help is greatly appreciated.
Nov 19 '05 #1
1 1906
Hi,

Check whether you have the "Images" directory and also the image in it. If
not, copy the directory and image from the ftp server, and include in your
project.

Hope it helps.

Prakash.C

"TXIce" wrote:
Not sure if this is the right group...but I'm going to try here anyways. I
have a problem that is driving me absolutely crazy. I'm starting a new
ASP.Net web application and I'm trying to add an image web control. No
matter what I do...when I point the imageurl to the picture I want to
display...the only thing that shows in the VS.Net designer is a small little
box with a red "X" in it. If I compile the project and ftp it up to my web
host...the image displays perfectly...but it always shows up and the little
red "X" in the designer. Does anyone have any ideas as to why?

The code on the webpage is all the default code that gets put in by
VS.Net....this is the code that gets entered for the image control:

<asp:Image id="Image1" style="Z-INDEX: 101; LEFT: 16px; POSITION: absolute;
TOP: 16px" runat="server"
ImageUrl="images/banner01.jpg"></asp:Image>

As I said...once the project is compiled and ftp'd to my web host...the
image displays properly...but it just won't in the designer view within
VS.Net. Even if I do a "view in browser" from the designer...it still will
not show up. I can also compile the project and try to view the webpage
local on my machine by browsing to //localhost/<project name> and the image
still will not display properly.

This is very annoying and is making trying to design the page properly very
difficult for me. Any help is greatly appreciated.

Nov 19 '05 #2

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

Similar topics

3
by: Dalan | last post by:
At first I was not certain what could cause Access 97 from displaying most jpeg images, but not all. After further testing, it seemed that all original images of less than 275 pixels per inch or...
1
by: Mamatha | last post by:
Hi I am developing a small application to capture a record a video file through webcam in C#.NET. In this application i created a JPEG images for every slide,means every JPEG image was treated...
13
by: moondaddy | last post by:
Happy Holidays All! I want to load a datagrid with images and text (Image, text, image, text, etc...). The data for this datagrid will be coming from sql server and the images are stored as files...
2
by: RAJ | last post by:
In our multi-tier application, we have several ASP.NET user controls which will update the same data source provided by middle tier logic. In this particular scenario we have one user control...
5
by: david | last post by:
Can I use WriteFile methods? It seems that it does not work. For example, the following code only dispay one figure. Response.WriteFile("images/image002.jpg") Response.Write("<br><p>")...
1
by: buzz | last post by:
I've created a simple table with text and images(gif, jpg) in a user control. Everything displays correctly in the designer. But when I drop the control on the main page, no images display. What am I...
14
by: hamil | last post by:
I am trying to display an image in a picture box. The image is a group 4 fax black and white image of a piece of sheet music. The original resolution is 300 X 300 dpi. I want to have the picture...
0
by: Marcus Kwok | last post by:
I have written a class (Windows Form) in Managed C++ that accepts an array of image filenames and will display them sequentially. All images will be the same size. I got it to work, but I know...
4
by: Ken Fine | last post by:
I've been living with a frustrating issue with VS.NET for some months now and I need to figure out what the problem is. Hopefully someone has run into the same issue and can suggest a fix. I...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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
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
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...
0
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.