The event isn't get fired. Here is my code, could you please help me, what is wrong with that. I read couple of posts, that manages to handle the event. I tried to add action with couple of different parameters, I couldn't manage to make it work.
public ModuleActionCollection ModuleActions
{
get
{
ModuleActionCollection actions = new ModuleActionCollection();
actions.Add(GetNextActionID(), "Print", ModuleActionType.PrintModule, "", "","",true, SecurityAccessLevel.View, true, false);
return actions;
}
}
protected void Page_Load(object sender, EventArgs e)
{
Skin.GetParentSkin(this).RegisterModuleActionEvent(ModuleId, ModuleAction_Click);
}
private void ModuleAction_Click(object sender, ActionEventArgs e)
{
Response.Write(e.Action);
}