![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi! I must generate webform and his controls at runtime(ASPX and Code behind). I am able to create the codebehind file with CodeDom but can't create the aspx file. How can I create at runtime aspx file and synchronize it with the codebehind file. Thanks Jeff |
#3
| |||
| |||
|
|
your approach may not quite work, when asp.net first hits an aspx page, it parses it and builds a dll in a temp dir and loads it (much like you are doing with the codedom). if when you build the codebehind, you build a dll for it, the dynamic aspx page could compile against it. if you regen the same webforms, the appdomain is dumped, and the pages are recompiled. -- bruce (sqlwork.com) "jf_cote" <jf_cote (AT) msn (DOT) com> wrote in message news:b7af86db.0406031228.40841353 (AT) posting (DOT) google.com... Hi! I must generate webform and his controls at runtime(ASPX and Code behind). I am able to create the codebehind file with CodeDom but can't create the aspx file. How can I create at runtime aspx file and synchronize it with the codebehind file. Thanks Jeff |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |