Such a simple question but if I want to add run some code in the OnPreRenderComplete Event for a Asp.Net page that inherits from a Master Page using Visual Studio Web Developer Express 2010 how can I do it?
Right clicking on the aspx page to get to properties allows me to select all the web controls in the drop down. Once I select one I can just click on the events tab and click in the event I want to have the empty method added to the .cs and register it for the event. But I don’t see an option for Page.
What am I missing?
Such a simple question but if I want to add run some code in
Share
OnPreRenderCompleteis avirtualmethod in thePageclass that can be overridden with theoverridekeyword.Don’t forget, like I did, to call the base
classes implementation…