---
title: "CanvasViewer..::.RaiseCallbackEvent Method "
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_AjaxControls_CanvasViewer_RaiseCallbackEvent_1_bb3a7a4f.htm
product: "Graphics Mill 5.5 for .NET"
---

This documentation is for the old version. [Go to the latest Graphics Mill docs](https://www.graphicsmill.com/docs/gm/)

# CanvasViewer.RaiseCallbackEvent Method 
 
Raises events for the [CanvasViewer](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_AjaxControls_CanvasViewer.htm.md) control when a form is posted back to the server.
 
**Namespace:** [Aurigma.GraphicsMill.AjaxControls](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_AjaxControls.htm.md)
 **Assembly:** Aurigma.GraphicsMill.AjaxControls.VectorObjects (in Aurigma.GraphicsMill.AjaxControls.VectorObjects.dll)
 
## Syntax
  
```
Protected Overrides Sub RaiseCallbackEvent ( _eventArgument As String _
)
```
 
```csharp
protected override void RaiseCallbackEvent(string eventArgument
)
```
 
### Parameters
 
 - eventArgument
     - Type: [System.String](http://msdn2.microsoft.com/en-us/s1wwdcbf)
A string representation for the index of the list item that raised the event.
 
## Remarks
  
The [CanvasViewer](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_AjaxControls_CanvasViewer.htm.md) control uses the RaiseCallbackEvent(String) method to retrieve data and the [GetCallbackResult()](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_AjaxControls_CanvasViewer_GetCallbackResult.htm.md) method to return the retrieved data to the control.
   
## See Also

### Reference

- [CanvasViewer Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_AjaxControls_CanvasViewer.htm.md)
- [Aurigma.GraphicsMill.AjaxControls Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_AjaxControls.htm.md)
