Welcome Guest Log in
   The topic address is: http://callbackpage.softain.com/Help/CallbackPageAssembly.aspx   Send to a friend
SoftAIN class library
CallbackPage assembly
See also  Description  Class list 
Collapse all
 
The assembly contains a set of classes to create Web applications supporting the AJAX functionality.

CollapseDescription

Generally, the site organisation with the below classes looks like the following:

The main page is inherited from the CallbackPage class. The whole information contents of the site are on the user controls ordered with the help of the UserControlHolder and ControlAlias classes. The templates of the user controls containing active elements (i.e. elements initiating the server exchange: buttons, links, etc.) can be setup with the help of the CallbackOptions and CallbackOption classes. The CallbackState class object shows the server exchange indicator and then, in case of error generation by the server, shows the errors to the user. The PathHolder class is registered in the httpModules section of the web.config file and it can be located on pages that require a permanent link (e.g. chosen goods or news or a help article like on this site).

For more detailed information about the use of the classes, you can read their descriptions. However, we recommend you to get acquainted with the demo project first. It will help you understand the main principles of the technology. Before starting to develop your own sites, you had better read the programming recommendations to avoid possible mistakes.

Collapse Class list:


  Class Description
CallbackPage The main class of the library. The start page of the server must be inherited from this class.
CallbackOptions This class is to setup the page template or user control. It contains the collection of the CallbackOption objects. Each of these objects is responsible for their own set of active elements.
CallbackOption This class is to setup the site to operate with active elements.
CallbackState The class objects are meant to indicate the server exchange and to display the application errors.
PathHolder This class helps to initiate the current position of a user on the site, to exchange links by e-mail and support the site functionality for serch engines and for users who works with the JavaScript turned off.
UserControlHolder It is for operation with user controls. It contains the collection of the ControlAlias objects describing the controls you use.
ControlAlias The class objects are to connect a user control with a simple name that is easy to remember and use. This class is used only as member of the UserControlHolder collection.
CallbackScriptRegistrar This class serves for the registration of necessary JavaScripts. Usually you don’t have to use this class manually, apart from the cases mentioned in its description.

Collapse See also

Copyright © 2005-2007 SoftAIN