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_studio_2005 Tags:
Item Type: NewsGroup Date Entered: 6/22/2005 12:06:41 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 2 Views: 84 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
3 Items, 1 Pages 1 |< << Go >> >|
neolite
Asp.Net User
App_GlobalResources and Images6/22/2005 12:06:41 PM

0/0

Has anyone had any experience working with the new App_GlobalResources and Images?  I have added an existing image to my resx file for both English and French.  On my page, I added it as follows to the ImageURL:

ImageUrl="<%$Resources: MyResources, page_header_01 %>"


When I compile and debug the page, I get the dreaded "X" where the image should be.  When I click on the properties, I see that it is trying to load a bitmap image when I added a .GIF image to the resx file.

Any input would be appreciated.

Fredrik N
Asp.Net User
Re: App_GlobalResources and Images6/22/2005 12:10:56 PM

0/0

The ImageUrl property want you to specify a string with the value of an URL to an image, not an image that is located into the .resx file. In your case I should probably use an image generator instead.. Take a look at this post
/Fredrik Norm?n NSQUARED2
Microsoft MVP, MCSD, MCAD, MCT

Cornerstone

My Blog, ASP.Net 2.0 etc
neolite
Asp.Net User
Re: App_GlobalResources and Images6/22/2005 12:31:07 PM

0/0

Thanks for replying.  I'm not sure I was clear on my explaination.  I have an image in an english-based resx file and an image in a french-based resx file.  When the user's culture info is in english, I simply want to point my ImageURL to the english-based image.  I have already generated the image and it just needs to be pointed to.

For some reason, when I point it to the image in the resx file, it is trying to create a .BMP instead of a .GIF

 

3 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Professional ASP.NET 2.0 Authors: Bill Evjen, Scott Hanselman, Farhan Muhammad, Srinivasa Sivakumar, Devin Rader, Pages: 1253, Published: 2005
ASP.NET 2.0 Website Programming: Problem-design-solution Authors: Marco Bellinaso, Pages: 576, Published: 2006
Beginning DotNetNuke 4.0 Website Creation in C# 2005 with Visual Web Developer 2005 Express: From Novice to Professional Authors: Nick Symmonds, Pages: 391, Published: 2006
ASP.NET 2.0 Black Book: black book Authors: Dreamtech Software, Dreamtech Software, Charul Shukla, Anil Kumar Barnwal, Dreamtech Software India, Pages: 1167, Published: 2006
Microsoft Office SharePoint Server 2007: The Complete Reference Authors: David Matthew Sterling, David Sterling, Pages: 788, Published: 2007
Beginning DotNetNuke 4.0 Website Creation in VB 2005 with Visual Web Developer 2005 Express: From Novice to Professional Authors: Nick Symmonds, Pages: 448, Published: 2006
Beginning ASP.NET 3.5 in C# 2008: From Novice to Professional Authors: Matthew MacDonald, Pages: 954, Published: 2007
Beginning ASP.NET 3.5 in VB 9.0: From Novice to Professional Authors: Matthew MacDonald, Pages: 1149, Published: 2007
Visual Studio 2008 All-In-One Desk Reference For Dummies Authors: Rick Leinecker, Vanessa L. Williams, Pages: 816, Published: 2008
ASP.NET 2.0 Everyday Apps For Dummies Authors: Doug Lowe, Pages: 504, Published: 2006

Web:
App_GlobalResources - ASP.NET Forums I have kept the cal.gif file under App_GlobalResources folder. ... the right approach to keep the image files in App_GlobalResources folder. ...
App_GlobalResources and Images - ASP.NET Forums Has anyone had any experience working with the new App_GlobalResources and Images? I have added an existing image to my resx file for both ...
How to use and manipulate images embedded into ASP.NET Resource ... To store image files embedded into RESX files without you need to deploy those ... NET specialized folder called App_GlobalResources into your website. ...
"error loading RadChart image" and "App_GlobalResources" - telerik ... NET "error loading RadChart image" and "App_GlobalResources" ... As for the App_GlobalResources issue - I believe this is not related to ...
embedded resource - .NET ASP Now, you'd add a resource file to App_GlobalResources directory (special directory for ASP.NET 2.0) and add the image as a resource to that ...
Feedback: RegisterClientScriptResource doesn't work for Resources ... ... advantage of sattelite assemblies to serve different images or javascript files when those items are stored in the .resx file in App_GlobalResources? ...
Re: ASP.NET Images are not displayed By the way, we recommend you do not put the /images/ folder under the / App_GlobalResources/ folder, the /App_GlobalResources/ folder is a ...
Problem with images in VS2005 I am creating a web site and all the images are in App_GlobalResources. In Design View I can see all the images but as soon as I preview the ...
publish App_GlobalResources NET 2.0 with C# I use App_GlobalResources and I have a file Messages.resx. ... Images; Images and Photos; Internet Marketing; Miscellaneous; Scripting ...
Failed to map the path '/App_GlobalResources/' '/App_GlobalResources/'.] System.Web.HttpRuntime. ... App_GlobalResources is a new type of .NET folder. ... Can I use images in a class? ...




Search This Site:










checkboxlist

placing 2 labels next to module title

problem creating wizard dynamically please help

dnn 2.1.2 performance issue

how do the global event handlers get called?

easiest way to include an image in the post

simple code sniplet required

treeview - select node programatically

keycode == 13 ??

add contentholder automatically to the content page

dnn file for a core mod

what do you use to put blogs into .text?

the next step

is integrated source code control available?

active server pages error asp 0221

a class html document

module contents export then import in another portal.. help?

data.sqlclient namespace performance issue?

are objects in arraylist threadsafe ?

reload usercontrols and keeping viewstate

editable drop down list control

random simple ibs portal questions

what about windows forms development?

passing variables between script files and aspx files

selecting an image randomly

3.0.7 - how to remove a module from a page

problem with menu control's menuitemclick event

how can i allow user to signup for an email account under my own website

help ! how can i know whick field bounding !

dotnetnuke

 
All Times Are GMT