daniel1984

Bookmarks - accessing add click event

Discussion created by daniel1984 on Mar 20, 2012
The OOTB Bookmarks lets you add other actions when editing/removing a bookmark using the "OnEdit" or "OnRemove", but what about adding a bookmark. I am using ArcGIS Javascript API with ASP.Net and C#. I want to set up the bookmarks so that when a user add's a bookmark, an ajax post back is performed, sends the bookmark to my c# method as a json object, which in turns saves that bookmark to my database table. Is there a way to access the bookmark's "onAdd" event with their "esri.dijit.bookmarks" or will I have to create my own customizable bookmark tool?

Outcomes