> I need to load different aspx and ascx files, depending on user
> settings. The files are all identically (the pages contains the same
> asp components) , except some layout elements can differ (html tables,
> images, ... can differ.
Sure, this is not a problem. Dynamically create the controls (or call LoadControl)
and then add them into the page at the right place by calling Controls.Add().
Also, recreate those controls upon every postback - that's an important step.
> Is there a way to overwrite the aspx content from before rendering?
> (Would be somehting like loading another template in ASP.NET 2.0)
You can always manipulate the control tree prior to Render and that's how
you control the layout. It's the same as adding controls described above.
-Brock
DevelopMentor
http://staff.develop.com/ballen