| Visual Basic (Declaration) | |
|---|---|
Public Overridable Property CallbackResults As CallbackResultCollection | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public virtual CallbackResultCollection CallbackResults {get; set;} | |
Each Web ADF control maintains a CallbackResults collection. The CallbackResults is used by the control during a client callback to pass information from the server back to the client. This is the key to updating the Web ADF control and other page elements with the client callback framework.
Developers can add to the callback results collection of the control that initiated the callback to pass more information back to the browser. Do this either by creating a new CallbackResults object, or by copying the callback results from another Web ADF control, using the CopyFrom method of the CallbackResultCollection class.
For more information on client callbacks, see the topic see the "Control Callbacks" section of the Custom tool and commands discussion in the SDK, as well as Page Postbacks and Client Callbacks in the Developer Help. Also see the SDK Samples for examples of using the callback results collection.
Target Platforms:Windows XP Professional, Windows Server 2003 family