just as the title says
i am trying to get shoot a javascript method after posting the map inside an asp.net updatepanel
i am easly able to achive this for normal controls using my awesome javascript code
"
//adds a javascript function to AJAX update panel callback routine
//gets actionToTake (function to execute), id (submit button id to validate) (custom attribute)
addAjaxCallbackEvent: function (actionToTake, id)
{
//create script manager object
var webform_ajax_manager = Sys.WebForms.PageRequestManager.getInstance();
//add event
webform_ajax_manager.add_endRequest(function (sender, arg)
{
//if id is null run action normally
if (id == null) {
actionToTake();
}
//if not check the submit button id to match
else if (sender._postBackSettings.sourceElement != null) {
if (sender._postBackSettings.sourceElement.id == id) {
actionToTake();
}
}
});
}
"
but it seems it doesnt work on ThinkGeoMap as it doesn't work as a simple ASP.NET control
how can I shoot a javascript method AFTER the thinkGeo AJAX Click Postback event?