Script controls may not be registered before PreRender.

  • Thread starter Thread starter Jishi0786
  • Start date Start date
J

Jishi0786

Guest

Script controls may not be registered before PreRender.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.InvalidOperationException: Script controls may not be registered before PreRender.

Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[InvalidOperationException: Script controls may not be registered before PreRender.]
System.Web.UI.ScriptControlManager.RegisterScriptControl(TScriptControl scriptControl) +239
Telerik.Web.UI.RadCompositeDataBoundControl.RegisterScriptControl() +106
Telerik.Web.UI.RadCompositeDataBoundControl.ControlPreRender() +34
Telerik.Web.UI.RadGrid.ControlPreRender() +46
Telerik.Web.UI.RadCompositeDataBoundControl.OnPreRender(EventArgs e) +44
System.Web.UI.Control.PreRenderRecursiveInternal() +90
System.Web.UI.Control.PreRenderRecursiveInternal() +163
System.Web.UI.Control.PreRenderRecursiveInternal() +163
System.Web.UI.Control.PreRenderRecursiveInternal() +163
System.Web.UI.Control.PreRenderRecursiveInternal() +163
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +906


Please advice me about this error .im not using any control metioning in that error.. using only rad grid control





Continue reading...
 
Back
Top