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  |  

Maximum ASP
  Ads  
Active Modules -- Active Forums for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

SmarterTools
Verndale
The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
Red-Gate Software
MaximumASP
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! (Pro...  Help! Control not showing up in list.
Previous Previous
 
Next Next
New Post 7/25/2008 2:53 PM
User is offline jtstroup
3 posts
10th Ranked


Help! Control not showing up in list. 

I am attempting to add my new control to the module definition.

The Control:

<%@ Control Language="C#" AutoEventWireup="true" CodeFile="AuditDemo.ascx.cs"
Inherits="Audit.AuditDemo" %>

The CodeBehind:

namespace Audit
{
    public partial class AuditDemo : PortalModuleBase
    {
        protected void Page_Load(object sender, EventArgs e)
        {
           
        }
    }
}

But NoMatter what I do the path that it shows to the folder "Audit" is:

DesktopModules/Audit/AuditTest.ascx and never AuditDemo.ascx.

Can anybody help?

 

 
New Post 7/27/2008 12:04 PM
User is offline Ian Robinson
651 posts
www.engagesoftware.com
7th Ranked


Re: Help! Control not showing up in list. 

jtstroup,

Are you using a manifest (.dnn) file to do this? If so you may have the path set up using the AuditTest.ascx name...

Take care,

Ian


Ian Robinson
Engage Software
St. Louis, MO
314.966.4000



The leading provider of DotNetNuke support, training and custom development.
 
New Post 7/28/2008 3:06 PM
User is offline jtstroup
3 posts
10th Ranked


Re: Help! Control not showing up in list. 

I am not using a .dnn file. I'm working in the source. I created a Audit Folder in the App_Code as well as in the Desktop Modules Folder. Which has worked for me in the past. Any other ideas?

 
New Post 7/28/2008 7:11 PM
User is offline Ian Robinson
651 posts
www.engagesoftware.com
7th Ranked


Re: Help! Control not showing up in list. 

Hey,

I guess we should clarify what you mean by "the path that it shows" -- do you mean the path that visual studio is showing? that is being shown at run time when debugging the code? The code in the module definition? I initially was thinking you were talking about your module definition, but now i'm not so sure. Judging by your markup/code - i can't see any reason why it would be using a different directory...anywhere....

Take care,

Ian


Ian Robinson
Engage Software
St. Louis, MO
314.966.4000



The leading provider of DotNetNuke support, training and custom development.
 
New Post 7/29/2008 11:26 PM
User is offline jtstroup
3 posts
10th Ranked


Re: Help! Control not showing up in list. 

Sorry I was originally speaking about my module definition. For some unexplainable reason I always get a DesktopModules/Audit/AuditTest.ascx. Instead of the only control in that fold which is DesktopModules/Audit/AuditDemo.ascx.

However somebody else was able to see the module, add it to the project and now I'm able to use it as well as see the AuditDemo. I'm not sure what my problem was though.

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! (Pro...  Help! Control not showing up in list.
 


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.

 


AppTheory
Professional development for medium to large projects based on the DotNetNuke platform.
www.apptheory.com
OnyakTech
Modules for Help Desks, Live Chat, Project Management, CRM, Charting, Reporting, Scrolling Text/Images, Portal Community tools and much more.
www.OnyakTech.com
IHostASP.NET Provides the Ideal DNN Hosting
We will help you with the installation, configuration, and troubleshooting of your DNN portal, no task is too big or small for us. Unlike other companies we are not just providing a reliable hosting service, but we are also focused on providing the best DotNetNuke hosting service on the internet.
www.ihostasp.net

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