I recently noticed that the Page_PreRender event is not firing. If used protected override void OnPreRender, everything is in order. AutoWire is turned on, and the same code works fine on another computer ...
protected override void OnPreRender
Where should I dig?
There are a few things that can make it not run.
This event must be redefined and used.
protected override void OnPreRender(EventArgs e) { base.OnPreRender(e); }
, , AutoEventWireup Web.Config Machine.Config. http://support.microsoft.com/kb/324151
, , machine.config - .
, .
<configuration> <system.web> <pages autoEventWireup="true|false" /> </system.web> </configuration>