Version

CallBackManager Class Members

The following tables list the members exposed by CallBackManager.

Public Methods
 NameDescription
Public Methodstatic (Shared in Visual Basic)AddErrorHandlerAdd error handler to current CallBackManager. That method has effects only within asynchronous postbacks triggered by CallBackManager such as WebAsyncRefreshPanel, or UltraWebTab.  
Public Methodstatic (Shared in Visual Basic)AddScriptBlockAdd javascript statements which will be executed on the client at the end of asynchronous response.  
Public MethodDestroyDestroy CallBackManager.  
Public Methodstatic (Shared in Visual Basic)EnableScriptSrcProcessingEnable or disable processing SCRIPT blocks with src. Default value is true. If that option is enabled, then all SCRIPT blocks that have src attribute are passed to the client, but only new script files are loaded. That processing may slow down performance. If the application does not load new controls that depend on js files dynamically, then it is better for that option to be disabled.  
Public Methodstatic (Shared in Visual Basic)EnableStyleProcessingEnable or disable processing STYLE blocks in the header. Default value is true. If that option is enabled, then data from all STYLE blocks located in HEADER or registered with Page are passed to the client and a new styleSheet object is constructed for those old and new classes. That processing may slow down performance and in some cases (mostly under IE6) it may trigger exceptions in the browser. If the application does not modify objects that depend on dynamic css, then it is better for that option to be disabled.  
Public Methodstatic (Shared in Visual Basic)IsAsyncPostBackCheck if it is async postback triggered by CallBackManager.  
Public MethodOnPreRenderThat method must be called by control if it triggered CallBack.  
Public Methodstatic (Shared in Visual Basic)RemoveErrorHandlerRemove error handler from current CallBackManager. That method has effect only if AddErrorHandler did not fail.  
See Also