"simonZ" <(E-Mail Removed)> wrote in message
news:O4K9$(E-Mail Removed)...
> On client it works, I can see new elements in my div element.
Yes, you would...
> But when I post back my page, the divTbl.InnerHtml is empty.
That's right.
> Why
In order for a control to be part of the postback, it has to be sent down to
the client in the first place. Controls which are created client-side are,
therefore, not part of this so you can't see them when the page is posted
back...
> and how can I do this?
If you're only interested in the dynamically created <div>'s innerHTML
property, copy it into a hidden field before you kick off the postback...
--
Mark Rae
ASP.NET MVP
http://www.markrae.net