Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

Affordable ASP.NET Hosting Service
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Webhost4Life - $4.95 Windows Hosting
 


  Sponsors  

Meet Our Sponsors

SteadyRain
DataSprings - Great Ideas. Always Flowing.
R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
SmarterTools
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  Module Delete Action
Previous Previous
 
Next Next
New Post 9/18/2006 12:27 PM
User is offline Michael BonDurant
2 posts
10th Ranked


Module Delete Action 

Hello,

Could anyone help me with some sample code that would capture the delete module action so I could run some additional code when that action happens?

Thanks

 
New Post 9/21/2006 7:28 AM
User is offline Michael BonDurant
2 posts
10th Ranked


Re: Module Delete Action 

I thought this would work but it never runs the sub

Public Sub ModuleAction_Click(ByVal sender As Object, ByVal e As Entities.Modules.Actions.ActionEventArgs)

'We could get much fancier here by declaring each ModuleAction with a

'Command and then using a Select Case statement to handle the various

'commands.

If e.Action.Url.Length > 0 Then

Response.Redirect(e.Action.Url, True)

End If

End Sub

in Page_Load

'------------------------------------------------------------------------------------

'- Menu Action Handler Registration -

'------------------------------------------------------------------------------------

'This finds a reference to the containing skin

Dim ParentSkin As DotNetNuke.UI.Skins.Skin = DotNetNuke.UI.Skins.Skin.GetParentSkin(Me)

'We should always have a ParentSkin, but need to make sure

If Not ParentSkin Is Nothing Then

'Register our EventHandler as a listener on the ParentSkin so that it may tell us

'when a menu has been clicked.

ParentSkin.RegisterModuleActionEvent(Me.ModuleId, AddressOf ModuleAction_Click)

End If

 
New Post 8/6/2007 4:34 AM
User is offline Serdar
2 posts
10th Ranked


Re: Module Delete Action 

Did you manage to fix this problem. I'm having the same problem in C#.

 

Thanks,

Mehmet

 
New Post 8/21/2007 12:22 AM
User is offline Wes Tatters
410 posts
8th Ranked




Re: Module Delete Action 

Frustratingly there is currently no easy way of caputuring DNN events such as module deletes and such.

I know there has been some talk about an EVENT level system - but its not here yet - except in some
possibly rudimentary forms.

Woudl also like to see anyones ideas on this sort of thing.

Intercepting actions such as user create and user delete would also be a god send.

Westa

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  Module Delete Action
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


EMAS Pro
Strategic Enrollment Management Software for Higher Education Recruitment, Retention and Financial Aid
www.emaspro.com
Subzero Solutions
Dutch / English DotNetNuke consultancy services. Custom module development in any version. Complete application integration. Small business portal hosting. Your ideas our innovation - Your success our motivation. K.v.k Amsterdam: 34236342
www.subzero-solutions.net
Hosting for DotNetNuke
SiteGround.com is the best place to host your DotNetNuke website! Expert DotNetNuke support, reliable servers, low price!
www.SiteGround.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP