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  |  

DotNetNuke Marketplace
  Ads  
OnyakTech
 


  Sponsors  

Meet Our Sponsors

telerik
ExactTarget email software solutions
Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
Salaro -- Skins and more
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  DotNetNuke internal Events and registering EventHandlers
Previous Previous
 
Next Next
New Post 2/4/2008 7:05 AM
User is offline Will Gillen
76 posts
10th Ranked


DotNetNuke internal Events and registering EventHandlers 
Modified By Will Gillen  on 2/4/2008 10:06:27 AM)

I've been developing modules for quite some time in DotNetNuke, and I have run into instances where some of our modules and providers occaisionally need to be able to subscribe to certain DotNetNuke "events" as they happen, so that we can execute some code when the event happens.  To date, I haven't been able to find any documentation or examples on how this can be achieved effectively.

As DotNetNuke team members begin to develop the next version (5.0), I think that they should consider incorporating "events" and eventHandler subscription into the framework.  Let me explain by example.  In one use-case, our module needs to be able to "know" when a new user registers on the portal.  It would be nice if DotNetNuke exposed an event called "evtNewUserRegistered", and passed the userInfo object as the context.  This way, our module could register an eventHandler of sorts that could subscribe to this event, and perform some code execution everytime a user registered on the site.  Another example use-case would be when a user adds a page to the site, we might want to subscribe to this "event", and the event should pass the Page object as the context so that we could execute some code during this event.  This type of model builds on the typical Microsoft event handling that already exists in .NET.

Has anyone else ever run into this type of use-case before?
Do you think DotNetNuke should incorporate such an extension of the framework?

Thanks!

-- Will Gillen

 
New Post 2/4/2008 7:53 AM
User is offline Will Gillen
76 posts
10th Ranked


Re: DotNetNuke internal Events and registering EventHandlers 

FYI,  I posed a "New Feature Request" on the DotNetNuke support site, if you want to comment:

http://support.dotnetnuke.com/issue/ViewIssue.aspx?id=7032&PROJID=23

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  DotNetNuke internal Events and registering EventHandlers
 


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.

 


Customer Connect
Customer Connect provides cutting edge solutions that deliver sales, marketing and customer service results.
www.customer-connect.com
TechNexxus
Business process and technology sourcing solutions delivering superior people, process and value. We have used, and continue to use, DNN successfully in numerous client projects to deliver exceptional value. We are proud to support the DNN team and community.
www.technexxus.com
PartnerPoint | Community of Microsoft Partners
PartnerPoint is one of the largest and most active online communities of Microsoft Partners worlwide with over 8,000 members.
www.PartnerPoint.com

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