The problem i seem to have with the callout is that it still shows when the page is refreshed. i aslo noticed that the content of the datagrid remains as well.
Callouts are saved in the Map.Callouts collection.
The DataGrid control is also keeps its content between postbacks.
Thanks for the response but the issue has not been resolved yet.
i tried using the following on the Page load event:
if Page. Is post back then
Map.MapShapes.Clear()Map.Callouts.Clear()datagrid.DataSource = Nothingdatagrid.Caption = String.Empty
Your code is correct and it clears the callout (I have tried it).
If it does not work for your application, please email the entire code to technical support at http://vdstech.com/support.aspx