Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

AppTheory specializes in solutions based on the DotNetNuke platform and has 2 employees on the DotNetNuke Core Team.
  Ads  
r2i.ntegrated
 


  Sponsors  

Meet Our Sponsors

Webhost4life, specialists in DNN hosting
Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
AspDotNetStoreFront - E-Commerce by Design - The Leading ASP.NET shopping cart platform for developers!
SteadyRain
DataSprings - Great Ideas. Always Flowing.
R2integrated - formerly bi4ce
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  no images
Previous Previous
 
Next Next
New Post 4/9/2008 3:11 AM
User is offline ricardo
41 posts
10th Ranked


Re: no images 

 William Severance wrote

It appears that you are using the image in an ImageButton control. When setting the ImageUrl property, you should be able to use either of these methods in the .ascx's file server control markup for ImageButton2:

ImageUrl="~/DesktopModules/gDocVisualiza/App_LocalResources/apagar.png"

i have

                       <asp:ImageButton ID="ImageButton2" runat="server"
                           ImageUrl="~/DesktopModules/gDocVisualiza/App_LocalResources/apagar.png"
                           style="width: 16px" ToolTip="Apagar" />

but when I install in dnn it changes...


Portugal
 
New Post 4/9/2008 9:42 AM
User is offline William Severance
819 posts
www.wesnetdesigns.com
7th Ranked






Re: no images 

After seeing your reply that this still did not work I did a quick test with setting the ImageUrl. Here's what's happening:

IIS does not permit the serving of image files (including .jpg and .gif according to my test) out of the App_LocalResources folder. When the same image files were placed into an 'images' sub-folder of a module's folder, they appeared without a problem using the same pattern for the ImageUrl. Therefore I would suggest creating an images sub-folder, placing the image files into that sub-folder during the install, and referencing them in your control markup as follows:

ImageUrl="~/DesktopModules/gDocVisualiza/images/apagar.png"


Bill, WESNet Designs
 
New Post 4/11/2008 8:27 AM
User is offline ricardo
41 posts
10th Ranked


Re: no images 

Thanks. problem solved.


Portugal
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  no images
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


The Standard in Senior Housing Information
SNAPforSeniors provides consumers with free online resources to assist them with their search for senior housing
www.snapforseniors.com
DotNetNuke Web Hosting w/ ASP.NET 3.5
Unlimited email boxes, Unlimited databases, Unlimited domains. Plans start at $4.97
www.MyWinHosting.com
SteadyRain
Founded in 1999, SteadyRain has extensive experience delivering Internet technology strategies and solutions for a diverse client base, ranging from Fortune 500 firms to successful start-ups.
www.steadyrain.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP