title: ASP.Net: Add additional code to Page_Load, on top of what is in codebehind
body: <p>I am trying to add a few additional lines of code to the Page_Load method of an ASP.Net page, where the existing Page_Load code is stored in a compiled codebehind DLL. I don't have access to the source for the DLL, although I can extract the code for the Page_Load method using Dis#.</p>
  
  <p>What is the best way to add the new code? I need the existing Page_Load code to execute, together with the new code, and it doesn't matter in what order they execute.</p>
  
  <p>Specifically, I'm fixing an old application that uses the Telerik RadEditor which doesn't work correctly under Firefox 6. See <a href="http://www.telerik.com/community/forums/aspnet/editor/radeditor-for-asp-net-does-not-work-properly-in-firefox-6.aspx" rel="nofollow">this page</a> for the exact code I'm adding.</p>