denis
7/21/2011 12:41:28 PM
Yes it is possible. As Shawn said, create a new Web part, copy the content of the MessageCreate.ascx in it (change the CodeBehind and Inherits attributes in the first line to reflect your settings and Web part name), and in the codebehind say that your Web part inherits from MonoSoftware.MonoX.ModuleGallery.SocialNetworking.MessageCreate You can than override the OnLoad (or any other) event in it, call the base.OnLoad and do your stuff before or after that.
Note that you will have to change the MessageCenter.ascx also if you want to use the changed MessageCreate part in a standard scenario, as it is its container control. Inseat of the original MonoX MessageCreate you would have to reference your changed Web part.
This content has not been rated yet.
6805
Reputation
876
Total posts