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  |  

The best choice for your web site host, email hosting, and domain registration.
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
OnyakTech
 


  Sponsors  

Meet Our Sponsors

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
SteadyRain
DataSprings - Great Ideas. Always Flowing.
R2integrated - formerly bi4ce
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Make it Hot! ( ...  How do I modify an ASCX file?
Previous Previous
 
Next Next
New Post 6/25/2008 5:58 PM
User is offline Jeffery
10 posts
10th Ranked


How do I modify an ASCX file? 

I am trying to modify my skin file.

 

I make the change, upload it to /portals/_default/skins/myskin/ directory, try to reload it and I get this error:

Could Not Load Skin: /Portals/_default/Skins/myskin/skin-fixed width.ascx  Error: The file '/Portals/_default/myskin/Admin/Skins/Logo.ascx' does not exist.

Well of course it doesn't exist. It was never there to begin with!

What am I doing wrong? Do I need to re-parse the skin or something?

Thanks in advance.

Jeffery Davis

 
New Post 6/25/2008 7:38 PM
User is offline ROBAX
1851 posts
5th Ranked


Re: How do I modify an ASCX file? 

What file are you changing and how are you uploading it.

If you are changing HTML skin files and uploading by FTP, then yes you need to reparse it - there's a link for that on the skin page.

If you are changing HTML and packaging then uploading it as a whole new skin package then it will parse by itself - but it cannot overwrite a skin already in use.

There may be something else wrong but you'll need to provide more detail.

Rob

 

 
New Post 6/25/2008 8:17 PM
User is offline JK
301 posts
www.bestwebsites.co.nz
8th Ranked


Re: How do I modify an ASCX file? 

 Jeffery wrote

I am trying to modify my skin file.

 

I make the change, upload it to /portals/_default/skins/myskin/ directory, try to reload it and I get this error:

Could Not Load Skin: /Portals/_default/Skins/myskin/skin-fixed width.ascx  Error: The file '/Portals/_default/myskin/Admin/Skins/Logo.ascx' does not exist.

Well of course it doesn't exist. It was never there to begin with!

What am I doing wrong? Do I need to re-parse the skin or something?

Thanks in advance.

Jeffery Davis



Your path is wrong .. check that this line is correct in your .ascx - it must have the tilde "~" sign:

<%@ Register TagPrefix="dnn" TagName="LOGO" Src="~/Admin/Skins/Logo.ascx" %>

JK.


You know your website is cool, so why not let your users help you by spreading the word on social networking sites - get the DotNetNuke Social Bookmarks Module with 55 different ways to add social bookmarks to your site ... or download the FREE demo right now
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Make it Hot! ( ...  How do I modify an ASCX file?
 


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.

 


Personify Design, Inc.
Seattle-based Personify Design has developed customized DotNetNuke websites for a wide range of customers to meet many different types of needs, including distributed authorship across thousands of pages to integrated Verisign e-commerce capabilities.
www.personifydesign.com
DNN Outsourcing
50% more affordable services comparing to Western Europe and US: Custom DotNetNuke module development, skins, consulting, maintainence... Over 15.000 working hours of experience in custom DotNetNuke Solutions development, 8 years experience in outsourcing, excellent references!
www.dnnoutsourcing.com
Expressnet - DotNetNuke Hosting
Expressnet provide premium quality ASP.NET Web Hosting. We specialise in Windows based products including ASP.NET and Microsoft SQL Server. We offer fantastic value packages for DotNetNuke hosting. We also offer free asp.net web hosting
www.expressnet.com.au

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