VDS Technologies

 

Callout

7/5/2012 2:07:50 PM
Total Posts 3

Callout

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.

Regards.

7/5/2012 4:08:47 PM
MVP
Total Posts 323

Re: Callout

Callouts are saved in the Map.Callouts collection.

The DataGrid control is also keeps its content between postbacks.

7/19/2012 10:18:51 AM
Total Posts 3

Re: Callout

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.calllout.clear() 

Map.MapShapes.Clear()
Map.Callouts.Clear()
datagrid.DataSource = Nothing
datagrid.Caption = String.Empty

end if

7/19/2012 2:53:09 PM
MVP
Total Posts 323

Re: Callout

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