OK so have a default.aspx page.
All I have in this page is a div
doing some little magic in code behind I can insert html into that div. Ok.
What I want to do is to insert a whole page.html there and after the page is inserted, work with the <div runat="server"> from the page.html
lets say the page.html looks like this:
first I want to replace the "test" div with the content from the page.html . then I want to use the id1 and id2 divs to work with .innerhtml = etc
(Im trying to do some kind of easy skinning system)
HOW?
All I have in this page is a div
Code:
<div id="test" runat="server"></div>
doing some little magic in code behind I can insert html into that div. Ok.
What I want to do is to insert a whole page.html there and after the page is inserted, work with the <div runat="server"> from the page.html
lets say the page.html looks like this:
Code:
<div id="id1" runat="server"></div> <div id="id2" runat="server"></div>
first I want to replace the "test" div with the content from the page.html . then I want to use the id1 and id2 divs to work with .innerhtml = etc
(Im trying to do some kind of easy skinning system)
HOW?