From: Argiris K. <be...@us...> - 2005-12-03 12:56:07
|
Update of /cvsroot/magicajax/magicajax/Core/UI/Controls In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1546/Core/UI/Controls Modified Files: Tag: STABLE AjaxPanel.cs Log Message: Fixed a bug. The AjaxPanel's contents were sent to client at each AjaxCall if it didn't contain any WebControls. Index: AjaxPanel.cs =================================================================== RCS file: /cvsroot/magicajax/magicajax/Core/UI/Controls/AjaxPanel.cs,v retrieving revision 1.26.2.1 retrieving revision 1.26.2.2 diff -C2 -d -r1.26.2.1 -r1.26.2.2 *** AjaxPanel.cs 2 Dec 2005 13:12:41 -0000 1.26.2.1 --- AjaxPanel.cs 3 Dec 2005 12:55:59 -0000 1.26.2.2 *************** *** 401,411 **** foreach (Control con in this.Controls) { ! if (_controlState.ControlHtmlFingerprints.ContainsKey(con.ClientID)) ! { ! _controlHtmlFingerprints[con] = _controlState.ControlHtmlFingerprints[con.ClientID]; ! } ! else { ! _addedControls.Add (con); } } --- 401,414 ---- foreach (Control con in this.Controls) { ! if ( con is WebControl ) { ! if (_controlState.ControlHtmlFingerprints.ContainsKey(con.ClientID)) ! { ! _controlHtmlFingerprints[con] = _controlState.ControlHtmlFingerprints[con.ClientID]; ! } ! else ! { ! _addedControls.Add (con); ! } } } |