I already tried PreRenderComplete and unloading is too late
protected override void Render (HtmlTextWriter writer) {base.Render (author);
.... place code here
Typically, the only event after "Render" for a control is "Unload"