ESRI.ArcGIS.ADF.Web.UI.WebControls | |
CopyFrom Method | |
See Also |
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > CallbackResultCollection Class : CopyFrom Method |
- crc
- CallbackResultCollection to copy from.
Visual Basic (Declaration) | |
---|---|
Public Sub CopyFrom( _ ByVal crc As CallbackResultCollection _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public void CopyFrom( CallbackResultCollection crc ) |
Parameters
- crc
- CallbackResultCollection to copy from.
This method may be used to copy callback results to a Web ADF control that
initiated the callback so the callback results will be transmitted to the browser. For
instance, a custom task might produce a set of callback results that, by default, are
placed into a TaskResults container. The custom task might also modify the Map control,
perhaps to add graphics or highlight features. Since the task initiated the callback,
by default only its callback results are sent to the client. Although the Map control
has changed on the server, its callback results do not automatically get sent to the
client, and therefore without further action the browser will not display the updated
map. To cause the results to be sent to the client, the task should copy the Map's
CallbackResults to its own collection.