How to implement event chaining with Page.Render
-
Hi - I'm developing an ASP.net component that I need to implement through event chaining. For example: this.Render += MyComponent.Render([Request]) Can someone show me how I would implement this?
-
Hi - I'm developing an ASP.net component that I need to implement through event chaining. For example: this.Render += MyComponent.Render([Request]) Can someone show me how I would implement this?
-
OK - So I can do this in MyPage.aspx this.PreRender += new EventHandler(_MyPage_PreRender); But what I'd like to do is chain the event handler to a different class. For example: this.PreRender += MyComponent.PreRender or even better: this.PreRender += MyComponent.MyCustomMethod So can I chain directly to a method in another class? If so then will you please provide some code to show me how to do this?