H
HVG
My previous post on this didnt quite find a solution, so can we try again
please?
My senario is that from the codebehind in "page1.aspx", I wish to render
"page2.aspx"
(ie. a totally a different page) to html.
I'm after something like:
...
dim p2 as new Page(page2.aspx) ' <--- how to do this?
p2.RenderControl(htmlWriter);
...
But I cant see how to open/load a new webform page into a Page object so it
can be rendered.
I dont want to open "page2.aspx" in a new window as it is not an elegant
solution (tho it works).
Thanks again in advance.
Hugo
please?
My senario is that from the codebehind in "page1.aspx", I wish to render
"page2.aspx"
(ie. a totally a different page) to html.
I'm after something like:
...
dim p2 as new Page(page2.aspx) ' <--- how to do this?
p2.RenderControl(htmlWriter);
...
But I cant see how to open/load a new webform page into a Page object so it
can be rendered.
I dont want to open "page2.aspx" in a new window as it is not an elegant
solution (tho it works).
Thanks again in advance.
Hugo