sg.programmer
یک شنبه 09 مرداد 1390, 21:21 عصر
من قبلاً برنامه ام کار می کرد و الان این خطا را میده این برای چیه
کدها هم توی بلوک <%.....%> هستند
The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).
HttpException (0x80004005): The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).] System.Web.UI.ControlCollection.Add(Control child) +8677431 OboutInc.ImageZoom.ImageZoom.OnInit(EventArgs e) +580 System.Web.UI.Control.InitRecursive(Control namingContainer) +333 System.Web.UI.Control.InitRecursive(Control namingContainer) +210 System.Web.UI.Control.InitRecursive(Control namingContainer) +210 System.Web.UI.Control.InitRecursive(Control namingContainer) +210 System.Web.UI.Control.InitRecursive(Control namingContainer) +210 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +378
کدها هم توی بلوک <%.....%> هستند
The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).
HttpException (0x80004005): The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).] System.Web.UI.ControlCollection.Add(Control child) +8677431 OboutInc.ImageZoom.ImageZoom.OnInit(EventArgs e) +580 System.Web.UI.Control.InitRecursive(Control namingContainer) +333 System.Web.UI.Control.InitRecursive(Control namingContainer) +210 System.Web.UI.Control.InitRecursive(Control namingContainer) +210 System.Web.UI.Control.InitRecursive(Control namingContainer) +210 System.Web.UI.Control.InitRecursive(Control namingContainer) +210 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +378