Rank: Newbie Groups: Member
Joined: 7/15/2009 Posts: 8
|
I have created progress bar with a callbackPanel. I used your example Server side task-Advanced 2.
On my laptop with the demo license. It's worked very well.
Now, I try to do the same thing on a other computer and when I put the javascript code on the client side
function Start() { //Trigger AJAX callback with "start" parameter eo_Callback("<%=CallbackPanel1.ClientID%>", "start"); eo_GetObject('Dialog1').show(false); }
I get a error Error/'.
La collection Controls ne peut pas être modifiée, car le contrôle contient des blocs de code (c'est-à-dire <% ... %>).
Détails de l'exception: System.Web.HttpException: La collection Controls ne peut pas être modifiée, car le contrôle contient des blocs de code (c'est-à-dire <% ... %>).
In english: The controls collection can't be modifyed, because the control is in code blocs (<% ... %>).
Pile trace:
[HttpException (0x80004005): La collection Controls ne peut pas être modifiée, car le contrôle contient des blocs de code (c'est-à-dire <% ... %>).] System.Web.UI.ControlCollection.Add(Control child) +8678663 System.Web.UI.PageTheme.SetStyleSheet() +478 System.Web.UI.Page.OnInit(EventArgs e) +8699420 System.Web.UI.Control.InitRecursive(Control namingContainer) +333 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +378
Thank you
Martin Raymond
Informations sur la version : Version Microsoft .NET Framework :2.0.50727.4200; Version ASP.NET :2.0.50727.4016
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
Please try the latest version first. If the problem continues, try to isolate the problem into a test page and we will be happy to take a look.
Thanks!
|