ASP.NET Server.Execute
- by justin
I'm having some problems with Server.Execute that I can't seem to find any details on.
Page page = new WidgetProcessor(Widget);
Server.Execute(page, htmlTextWriter, true);
The Widget in the above code is a simple object that knows how to instantiate a usercontrol. The WidgetProcessor takes a Widget and adds the widgets control to the page. This works fine on the initial load, it doesn't seem to handle postbacks however; it never actually fires the user controls events, it just consistently returns the original page as if you had never posted back.
I've found this article from 2003: http://support.microsoft.com/kb/817036, though I would think they would have fixed this by now.
Any help would be appreciated.