473,670 Members | 2,228 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ImageURL

In VWD I have an ASPX page with a asp:image control. If the imageURL is of
a file whose name is 8 characters or less, the image is displayed. If the
file name is longer that 8 characters, the image is not displayed. Is there
a work-around to display an image with a filename longer that 8 characters ?
Thanks,
Jim
Jul 2 '06 #1
1 1468
Jim,

That's not normal behavior. Images can certainly have more than 8
characters. I suspect something else is your problem. Do you have spaces or
symbols in the file name? If so, that can cause issues. You might want to
experiment with Server.UrlEncod e to ensure the file name is valid.
Here's more info:
http://msdn.microsoft.com/library/de...874cfc3382.asp

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net

"Jim McGivney" <mc****@no-spam.sbcglobal. netwrote in message
news:%2******** ********@TK2MSF TNGP03.phx.gbl. ..
In VWD I have an ASPX page with a asp:image control. If the imageURL is
of a file whose name is 8 characters or less, the image is displayed. If
the file name is longer that 8 characters, the image is not displayed. Is
there a work-around to display an image with a filename longer that 8
characters ?
Thanks,
Jim

Jul 2 '06 #2

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

Similar topics

9
2798
by: Leigh Kendall | last post by:
I can't find any issue in the MS KB, but I'm experiencing the following problem which seems to be specific to IE5, and NOT any other version of IE 5.5+ or NN 6+. Issue: I'm using an asp.net hyperlink control and setting the imageurl property. It seems that when the img tag is rendered in the hyperlink (<a>) tag, the img tag is closed with a /> instead of the usual > tag. Because of this, when the hyperlink is clicked in IE5, the hyperlink...
2
2431
by: mich_stone | last post by:
Dear world, I have an IMAGE control placed on my .aspx page with its ImageUrl property not set. In my code, i am setting it equal to something using the following statement img.ImageUrl = Server.MapPath ("usedIcons/AssignAccess/" + reader.ToString ());
1
2637
by: tshad | last post by:
Is there some reason why the Hyperlink in a DataGrid will not show an image? I have a datagrid with the following: <asp:TemplateColumn visible="false" HeaderText="Skills"> <itemtemplate> <asp:HyperLink id="SkillsTestDate" imageURL="../images/checkmark.gif" visible="false" Text='<%# Container.DataItem("SkillsTestDate")%>' NavigateUrl='<%# "displayAppResumeEE2.aspx?JobID" & Container.DataItem("JobID") %>'
4
3406
by: Ben | last post by:
Hi, I'm using images in my menu control. I have my menu setup based on this example: http://msdn2.microsoft.com/en-US/library/system.web.ui.webcontrols.menuitembinding.imageurlfield(VS.80).aspx I have a theme and right now, the theme structure looks like... App_Themes --Authenticated ----Images ------Menu
3
10475
by: Thomas Satzinger | last post by:
Hallo., i just encounterd a strange thing which i cannot resolve. I am saving a bitmap created in memory to the asp temp folder (asp.net 2.0) this works fine, and i don´t want to create an extra folder in my application, so i don´t need my people giving that folder the asp permissions. Ok, my JPG is in the temp folder.
0
1190
by: Jeff | last post by:
Hey ASP.NET 2.0 I'm working on a website which I want the menu control to have images to left for the text in the menuitem... So far I've read that this can be done by providing the ImageUrl for the menuitem with a URL to the specific image. The problem is that I don't know how to set this ImageUrl value for every menuitem. I'm using a .sitemap where all the menuitems are specified. And
1
2588
by: scota | last post by:
I am using Visual Studio 2005. I have the following code in my DataList: <asp:Image ID="Image1" runat="server" ImageUrl='<%# DataBinder.Eval(Container.DataItem, "PIN") %' /> This brings up the following graphic: http://localhost/PhysicianDirectory/017871 How can I write the ImageURL so that the result would be:
1
2045
by: wardemon | last post by:
Hi, I have an image control which inside an ItemTemplate of a GridView Control. I've coded the ImageControl's ImageURL in "Source" to have a dynamically filled-up value ex: ImageURL = <%# FormatImageURL() %> CodeBehind: private function FormatImageURL { DropdownlistControl.SelectedValue } When page loads for the first time, everything is okay.
1
1877
by: BillGatesFan | last post by:
Is there a way to change to swapimages for an imagemap in asp.net upon postback on the server? Thanks!
5
7329
by: OK | last post by:
I am using an image control to display some images within a virtual map (ImagesRoot in IIS) outside of the web root in my vb asp.net application. How should I code the imageurl property to have this working? Image1.imageurl = ?
0
8386
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8814
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8592
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
8661
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 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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6213
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4211
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2800
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2042
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1794
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.