R
Ryan
Hi All,
I'm trying to programmatically extract all of the objects in a .aspx
page that can be seen from code. This is basically anything that has an
id and runat=server element. So far I've managed to load the assembly
into my code and list all of the page classes, the problem is that I
cannot get lower down than the page object.
This is from another application instance, so I cannot cycle through
the page.controls recursively as it does not exist in the code that I
am running from.
Any code samples/hints would be greatly appreciated. FYI this is for an
app that loads a .net dll dynamically and then creates a resource file
containing all of the user displayable elements (HTML selects, buttons,
images etc) on every asp.net page. This resource file can then be
localised to German, French etc by someone else (not me).
Thanks in advance for any hints
Ryan
I'm trying to programmatically extract all of the objects in a .aspx
page that can be seen from code. This is basically anything that has an
id and runat=server element. So far I've managed to load the assembly
into my code and list all of the page classes, the problem is that I
cannot get lower down than the page object.
This is from another application instance, so I cannot cycle through
the page.controls recursively as it does not exist in the code that I
am running from.
Any code samples/hints would be greatly appreciated. FYI this is for an
app that loads a .net dll dynamically and then creates a resource file
containing all of the user displayable elements (HTML selects, buttons,
images etc) on every asp.net page. This resource file can then be
localised to German, French etc by someone else (not me).
Thanks in advance for any hints
Ryan