It has to be possible, I just can't find the answer.
I am looking for a way to add the print icon to a control that I created. After the user enters some data, I would like to allow them to print the data that was entered, the problem is that the data will be displayed in a different user control than the origional.
I have attempted to add iActionable to the code and then in the property I added:
Actions.Add(GetNextActionID, Localization.GetString("ViewData", LocalResourceFile), Entities.Modules.Actions.ModuleActionType.PrintModule)
That didn't work
I also, to the top of the control I attempted to add:
<%@ Register TagPrefix="dnn" TagName="PRINTMODULE" src="~/Admin/Containers/PrintModule.ascx" %>
And in the body I added:
<dnn:PRINTMODULE runat="server" id="ActionButton" CommandName="PrintModule.Action" DisplayIcon="True" DisplayLink="False"/>
And still no luck.
Does anyone have another idea?