Bookmarks - accessing add click event

280
0
03-20-2012 06:31 AM
DanielLi
New Contributor
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?
0 Kudos
0 Replies