Webforms are just classes, and you can technically new one up and
manipulate it ... but ...
To do this the right way you need the runtime to create and init the
form via PageParser.GetCompiledPageInstance, because that method knows
who to call for code-generation of the ASPX page, who to call to wire
up implicit event handlers, and all the other "stuff" that needs to
happen for a webform that is going to be part of an HTTP request and
render to the client.
--
Scott
http://www.OdeToCode.com/blogs/scott/
On Fri, 7 Oct 2005 08:47:02 -0700, josepm
<> wrote:
>Thanks Scott, but I 'm deceived because I thought I could treat webForms as
>pure classes and manipulate so. So, I will use Response... and pass Request
>parameters until migrate to ASP 2.0.
>
>Best regards,
>
>josepm