Matjaz,
Yes you can access the body tag from code-behind.
I have sample code on my website:
www.aboutfortunate.com. Just go to the
code library and then use the search text box there. Enter "Use body tag as
server control" or something similar and you'll find the sample code.
Any questions? Feel free to email me (Anyone).
--
Sincerely,
S. Justin Gengo, MCP
Web Developer / Programmer
Free code library at:
www.aboutfortunate.com
"Out of chaos comes order."
Nietzche
"Matjaz Zalar" <> wrote in message
news:%...
> Hi,
> I have following problem:
> 1. template content is stored in database string field, for example:
>
> "<HTML><HEAD></HEAD><BODY ID="BODYTAG"></BODY></HTML>
>
> 2. page content is also stored in database:
>
> "<div>Hello Problem!!</div>"
>
> 3. page.aspx must first load template value and then inserts into template
> body innerHTML value of content.
>
> Question:
>
> Is there any possibility to access body through ID:
>
> BODYTAG.innerHTML = "<div>Hello Problem!!</div>"
>
> Thanks for Your reply,
>
>
> Matjaz Zalar
>
>