Hi,
I want to have two controls for a new module:
1. Added the following code to the 'View' ascx.vb
Actions.Add(GetNextActionID,"Stage #1", Entities.Modules.Actions.ModuleActionType.EditContent,
"","", EditUrl(), False, DotNetNuke.Security.SecurityAccessLevel.Edit, True, False)
Actions.Add(GetNextActionID,"Stage #2", Entities.Modules.Actions.ModuleActionType.EditContent,
"","", EditUrl(), False, DotNetNuke.Security.SecurityAccessLevel.Edit, True, False)
2. added two .ascx files to the project and put a trivial entry in each.
3. added the controls to the module in the Host>Module Definitions for the module.
My entries were Key: Edit
Type: Edit
Title: Stage #1
and
Key: View
Type: View
Title: Stage #2
....selecting the appropriate .ascx file for each control.
I can only see the page that has 'Edit' for the key type,[I've switched them over].
Using 'Edit' for both results in an error.[I'm sure this is by design....]
I've tried several other 'keywords' [View, Anonymous etc..]
Nothing seems to work. Problem is - I can never see both!
What am I doing wrong??
D.