Hi all,
I am writing a module in C# and when I try and run it I get this error: "The name 'EditURL' does not exist in the current context".
All the code is there, as far as I can see. The iActionable in the class declaration, etc...
This is in the CodeBehind for the iActionable Members:
[CODE]
#region IActionable Members
public DotNetNuke.Entities.Modules.Actions.ModuleActionCollection ModuleActions
{
get
{
//create a new action to add an item, this will be added to the controls
//dropdown menu
ModuleActionCollection actions = new ModuleActionCollection();
actions.Add(GetNextActionID(), Localization.GetString(ModuleActionType.AddContent, this.LocalResourceFile),
ModuleActionType.AddContent, "", "", EditUrl(), false, DotNetNuke.Security.SecurityAccessLevel.Edit,
true, false);
return actions;
}
}
#endregion
[/CODE]
Does anyone have a solution for this error, or be able to point me in the right direction?
Thanks in advance,