From: Dion O. <dol...@us...> - 2006-01-08 21:14:11
|
Update of /cvsroot/magicajax/magicajax/Core/UI In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21156/magicajax/Core/UI Modified Files: RenderedByScriptControl.cs Log Message: Added functionality to MagicAjaxModule to track all script blocks, and write back to the client the script blocks that were added on a callback. Same for hidden fields, except the hidden fields starting with "__" (these are considered system hidden fields) Index: RenderedByScriptControl.cs =================================================================== RCS file: /cvsroot/magicajax/magicajax/Core/UI/RenderedByScriptControl.cs,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** RenderedByScriptControl.cs 3 Jan 2006 01:49:09 -0000 1.17 --- RenderedByScriptControl.cs 8 Jan 2006 21:14:02 -0000 1.18 *************** *** 194,198 **** // We cannot avoid this because Firefox also keeps any changes that occured // to ViewState, so we need the controls to keep their changes. ! hiddenStore = this.ClientID + "$RBS_Store"; } else --- 194,198 ---- // We cannot avoid this because Firefox also keeps any changes that occured // to ViewState, so we need the controls to keep their changes. ! hiddenStore = string.Format("__{0}$RBS_Store", this.ClientID); } else *************** *** 201,205 **** // a different name for the hidden field at each page request so that // it can be reset for Firefox's "Refresh". ! hiddenStore = this.ClientID + "$RBS_Store" + DateTime.Now.Ticks; } --- 201,205 ---- // a different name for the hidden field at each page request so that // it can be reset for Firefox's "Refresh". ! hiddenStore = string.Format("__{0}$RBS_Store{1}", this.ClientID, DateTime.Now.Ticks); } |