The wwWebAjax control provides an easy to use AJAX style control that lets you call Server side URLs and code without re-submitting the entire page. You can use this control to retrieve server content and update the current page with the content retrieved.

The Control provides the following features:

Multiple Controls
You can drop multiple copies of the control on the page, so if you want multiple hover windows you'd assign one to each of these controls. The Urlbased Callbacks too map one callback to one handler. Page level method callbacks only require one control on the page for all the methods that are published (you might need multiples if you have multiple simultaneous callbacks going).

Some other useful features:


Inheritance

Custom
  wwWebControl
    wwWebAjax

Properties, Events and Methods

Member Description
AdjustWindowPositionDetermines if the Window position is adjusted if the panel scrolls off the page
AllowedPageMethodsA comma delimited list of methods that can be called via remote calls when EventHandlerMode = "CallPageMethod". If empty any method can be called.
ClientEventHandlerThe client event handler that is called when the request fires. Typically this value can be left blank.
IsCallbackDetermines whether the current request is a Callback for the control. Useful if you want to route a callback through special handling.
NavigateDelayThe delay before the client code fires a callback request.
PanelOpacityOptional Panel Opacity if the panel is displayed. Value is given as a fraction percentage (.10 = 10%). Set the value to -1 to indicate no opacity setting.
PanelShadowOffsetOptional offset for the Shadow if a shadow is displayed. Specify 0 for no shadow.
PanelShadowOpacityOptional Panel Shadow Opacity. Only applies if a ShadowOffset is set. Value is given as a fraction percentage (.10 = 10%). Defaults to .30.
PostBackFormNameName of the form that values are collected from and posted back to the server. If not specified the first form is used.
PostBackModeDetermines how PostData is sent back to the server
ScriptLocationIf the ScriptLocationType is external, this is the URL to the script file. We recommend you use an application relative path starting with the ~/ base path.
ScriptLocationTypeDetermines how the JavaScript support library file is loaded.
ServerUrlThe URL that is to be accessed on the server. Applies to ShowHtmlAtMousePostion, ShowHtmlInPanel and CallExternalPage modes.

Source File: webcontrolsextended.prg


Last Updated: 8/19/2006 | Send topic feedback