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.0Custom Edit Control ProblemCustom Edit Control Problem
Previous
 
Next
New Post
1/4/2007 10:48 AM
 

I've created a custom edit control for view module I wrote.  For the view module, I interface IActionable and have the following C# code:

public DotNetNuke.Entities.Modules.Actions.ModuleActionCollection ModuleActions

{

get

 

{

DotNetNuke.Entities.Modules.Actions.ModuleActionCollection actionCollection = new DotNetNuke.Entities.Modules.Actions.ModuleActionCollection();

actionCollection.Add(GetNextActionID(), DotNetNuke.Services.Localization.Localization.GetString(DotNetNuke.Entities.Modules.Actions.ModuleActionType.AddContent, LocalResourceFile), DotNetNuke.Entities.Modules.Actions.ModuleActionType.AddContent, string.Empty, string.Empty, EditUrl(), true, DotNetNuke.Security.SecurityAccessLevel.Edit, true, false);

return actionCollection;

}

}

The values for the replacement using the localization stuff is "AddContent.Add" and "Edit", which I think is pretty standard.

My modules definition in the .dnn file has:

<

<

<

<

<

<

<

<

</

<

<

<

<

<

</

</

</

When I run the portal, I install the view control and the Edit option is available, but when I click on it, nothing happens.

I can also install the Edit control and give it the Key Value of "Edit", but still nothing happens.

What am I missing?  I downloaded the Survey Example from adefwebserver.com, added it to my portal build environment, built it, and the custom edit controls DO work.  I must be missing something.  I've read as much as I can online.

I appreciate any help.  Thanks.

---Dan---

module>friendlyname>ItemList</friendlyname>cachetime>0</cachetime>controls>control>title>ItemList Control Module</title>src>DesktopModules/ItemList/ItemListView.ascx</src>type>View</type>control>control>key>Edit</key>title>Edit List Items</title>src>DesktopModules/ItemList/EditItemList.ascx</src>type>Edit</type>control>controls>module>
 
New Post
1/4/2007 2:25 PM
 

grafically nice post


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Custom Edit Control ProblemCustom Edit Control Problem


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