Tag Archive
ASP.NET Asus p4C800 Blogging blog updates c# Color Codes Color Hex Codes compair Drupal and WordPress corporate networks cpu errors Delphi delphi Prism Delphi Prism 2010 Delphi RAD dll Drupal easy blogging Firebird GAC GacUtil Google Maps Google Maps not displaying hardware HTML IE6 Intel Intel servers Microsoft Visual Studio modules motherboard Online Writing pascal Plagiarism programmign Programming PublicKeyToken Quiet Mouse Self.AutoPostBackControl Stealing Articles system fail cpu test TDateTime Triond Unix Timestamp Visual Studio 2010 tricks WordPress
Delphi 2007 will quietly delete callbacks in ASP.NET pages.
Well, I just got nailed by Delphi again… In Delphi 2007 (I use RAD Architect), if you are working on ASP.NET pages, there is a nasty gotcha.
If you are run your website from Delphi, then try to flip between the desing and aspx tabs in Delphi, the next time that you compile, it will clear most of the InitializeComponent section (everything but the Page_load). This means that all your buttons and dropdowns will no longer have events tied to them. If you are paying attention, the compiler does give you a warning about functions that are declared but not used.