Welcome Guest Log in
   The topic address is: http://callbackpage.softain.com/Help/CallbackPage/CallbackPage.aspx   Send to a friend
SoftAIN class library
CallbackPage class
See also  Members
Collapse all  
 
This is the main class of the library. The main page of an application must be inherited from it.

Namespace: SoftAIN
Assembly:CallbackPage.dll

CollapseSyntax

C#
public class CallbackPage: System.Web.UI.Page

CollapseRemarks

The way the page works depends on its properties, most of which can be set in the web.config parameters. You can determine the default behaviour of the navigation buttons of your browser, by setting the DisableBackButton property. The TestMode property setting makes an application debugging easier. The PreventDblClick and PreventStress properties allow to get rid of excess server load. To avoid timeout error messages for slowly working servers, you can increase the Timeout property value. The owners of the source files of the library can register scripts they need on their own. In this case, they should property RegisterScript to False.

During request processing, some additional properties are also available. The CallbackMode property set to True means that the server is in the updating mode. The IsJavaScriptEnabled property shows that the user's browser has the JavaScript support on. If during request processing in Callback mode there is an error occured, you can inform the user about it by setting the CallbackError property value (that is what happens in the HandleUnhandledException method). You can format an error message in the PrepareErrorText method.

In case you wish some scripts to be implemented when the page has loaded, you can register them using the RegisterCallbackScript method.

CollapseHierarchy

CollapseSee also

Copyright © 2005-2007 SoftAIN