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  |  

The best choice for your web site host, email hosting, and domain registration.
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
WebHostForAsp.net
 


  Sponsors  

Meet Our Sponsors

SourceGear - Tools for Developers
.: CounterSoft :.
telerik
ExactTarget email software solutions
Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
 


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.

 


DNNMasters - modules, consulting, development
DNNMasters developers are involved in DNN development since DNN 1.0.9 and today we offer a broad range of DNN related products and services including custom development of modules, help with ing third party modules for specific needs, general DNN technical support and administrative services.
www.dnnmasters.com
Cygnusoft Custom Software
Cygnusoft has been providing cutting-edge custom software solutions for 20 years. Cygnusoft is also a leading start-up incubator, helping our partners build successful new businesses.
www.cygnusoft.com
Digicon: DotNetNuke design and development
Digicon is based in Brisbane, Queensland, Australia
digicon.com.au

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