Zrinity is the leader in enterprise-class email marketing
management solutions and content management solutions for marketing professionals and developers worldwide.
Knowledge BaseUsing ActivEdit with other .NET server controls and autopostback
Another server control that uses autopostback will not update content before a post
Here's a way to have ActivEdit update the server control's ViewState property on every change, rather than when the form is submitted. This will keep the content updated in the hidden textarea in the case where another server control in the page forces a postback using autopostback.
Add the following script block to your form page.
<script language=javascript> function aeapi_local_onLoad(aeObject, fieldname) { ae_ondisplaychange = function(num) { set_tbstates(num); ae_update(); } function ae_update() { var ae_content = ""; var i; for(i=1;i<=ae_count;i++) { DHTMLSafe=aeObjects[i]; thisContentItem = eval("document.all.ae_tx_content"+i);