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  |  

Affordable ASP.NET Hosting Service
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
WebHostForAsp.net
 


  Sponsors  

Meet Our Sponsors

Portal Webhosting - Hosting For Developers
Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
.: CounterSoft :.
telerik
 


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
1595 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.

 


ASP.NET Web Hosting for $3.95
3 Month FREE ASP.NET Hosting! FREE Setup! DNN Support! FREE Domain Name! FREE Components! Host multiple websites on 1 plan! 30 Days Money Back Guarantee!
www.dailyrazor.com
Cestus Websites
DotNetNuke websites en services in Nederland. Cestus Websites levert websites, projectmanagent, skins, modules, training en gespecialiseerde hosting op basis van het CMS DotNetNuke.
www.dotnetnuke-websites.nl
FREE Skins, Modules & Control Panel!
Choose how much you want to pay on our Skins, Modules, Containers and Control Panel - Starting from FREE!
www.dnngroup.com

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