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  |  

AspDotNetStoreFront
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
WebHostForAsp.net
 


  Sponsors  

Meet Our Sponsors

The best choice for your web site host, email hosting, and domain registration.
CrystalTech Web Hosting™
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!
Click here to go to dev.live.com for Windows Live developer resources
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Make it Hot! ( ...  Bug when parse the background image???
Previous Previous
 
Next Next
New Post 5/29/2008 7:40 AM
User is offline ying
57 posts
10th Ranked


Bug when parse the background image??? 

Please look code below,It's from my Homepage.ascx ,The skin file that DNN create through the "upload skin"

'-----------------------------------------------------------------------------------------------------------------

<td background="<%= SkinPath %>TopPaneBg.gif" id="TopPane" runat="server">
' ^^^^^^^^^^^^^^^^^^^it have a "runat=server" and a background mark.

<td background="<%= SkinPath %>leftLine.jpg">
'^^^^^^^^^^^^^^^^^^^ it have background mark,,bug have not the runat=server.

'----------------------------------------------------------------------------------------------------------------

Now let's look the last html code after run homepage:

'----------------------------------------------------------------------------------------------------------------

<td id="dnn_TopPane" background="&lt;%= SkinPath %>TopPaneBg.gif">
<td background="/aofei/Portals/0/Skins/aofei_white/leftLine.jpg">

'----------------------------------------------------------------------------------------------------------------

The sentence with  "runat=server" has error,and the sentence without "runat=server" is correct parse.

My DNN version is 4.82.

Pls have a look at it,  Thanks!!!!

 

 

 

 
New Post 5/30/2008 6:23 AM
User is offline Timo Breumelhof
1693 posts
5th Ranked




Re: Bug when parse the background image??? 

you cannot use <%= SkinPath %> inside a control

I think you could use <%#SkinPath %>


Timo Breumelhof -- www.searchdotnetnuke.com -- Extended DNN (forum) search
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Make it Hot! ( ...  Bug when parse the background image???
 


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.

 


PointClick DotNetNuke Solutions
PointClick Technologies provides high-end DNN Hosting for businesses.
PointClick.Net Hosted Solutions
Active Modules, Inc.
Creators of Active Forums, the best forum module for DotNetNuke
www.activemodules.com
DotNetNuke Marketplace - Modules & Skins
The DotNetNuke Marketplace is the official e-commerce gateway for the DNN ecosystem. It's the place to buy and sell DotNetNuke modules, DotNetNuke skins, and other DNN offerings.
DotNetNuke Marketplace

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