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

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Using ADMIN Controls in ModulesUsing ADMIN Controls in Modules
Previous
 
Next
New Post
10/19/2006 4:48 PM
 

Hi there,

I'm trying to use a admin control in a module that I'm developing.

The module is registered and included on the acsx file:

<%@ Register TagPrefix="dnn" TagName="Membership" Src="~/Admin/Users/Membership.ascx" %>

 <dnn:membership id="ctlMembership" runat="Server" />

When I try to compile I get the following error:

Error 4 The type or namespace name 'Users' does not exist in the namespace 'DotNetNuke.Modules.Admin' (are you missing an assembly reference?) C:\Websites\DNN434Dev\DesktopModules\GEvents\Edit.ascx.designer.cs 14 44 GEvents

I tryed to include the full namespace in the control declaration but it doesn't work:

protected DotNetNuke.Modules.Admin.Users.Membership ctlMembership;

Anyone can help on this issue?

Isn't possible to use admin controls in regular modules?

Thanks in advance

 
New Post
10/19/2006 6:17 PM
 
I forgot to mention that I'm develping in C#
 
New Post
11/12/2006 4:00 PM
 
Did you manage to solve the problem? My friend is trying to use admin controls and cannot fint them in DNN435 dlls..
 
New Post
11/12/2006 5:34 PM
 

No luck... I was unable to do it and nobody replied with a solution for this

 

 
New Post
11/13/2006 9:46 PM
 

This works fine in VB.  I presume you do have a reference to DotNetNuke.dll in your reference and you have Using DotNetNuke at the top of your cs codebehind?

 

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Using ADMIN Controls in ModulesUsing ADMIN Controls in Modules


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