Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...Help! Control not showing up in list.Help! Control not showing up in list.
Previous
 
Next
New Post
7/25/2008 4:53 PM
 

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 2:04 PM
 

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


Software Engineer
Co-Founder, dnnGallery
Stack Overflow: Ian Robinson
Twitter: @irobinson
Linked In: Ian Robinson
 
New Post
7/28/2008 5:06 PM
 

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 9:11 PM
 

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


Software Engineer
Co-Founder, dnnGallery
Stack Overflow: Ian Robinson
Twitter: @irobinson
Linked In: Ian Robinson
 
New Post
7/30/2008 1:26 AM
 

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
 
Next
HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...Help! Control not showing up in list.Help! Control not showing up in list.


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, 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 DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out