Hi,I wonder how to handle click ok event from every EditFeatureAttributesPage.I can handle the click ok event from the ManageEditsTask (ESRI.ArcGIS.Mobile.Client.Tasks.ManageEdits.ManageEditsTask.EditFeatureAttributesPage) with this code:
protected override void OnOwnerInitialized()
{
// Make sure we are on the UI thread because getting the
// EditFeatureAttributesPage may cause it to be created, which can only
// occur on the UI thread.
if (!MobileApplication.Current.Dispatcher.CheckAccess())
{
MobileApplication.Current.Dispatcher.BeginInvoke((ThreadStart)delegate()
{
OnOwnerInitialized();
});
return;
}
// Listen to the event from the edit feature attributes control from the
// View Updates page.
ManageEditsTask editTask = MobileApplication.Current.FindTask(typeof(ManageEditsTask)) as ManageEditsTask;
if (editTask != null)
{
_editAttributesPage = editTask.EditFeatureAttributesPage;
_editAttributesPage.ClickOk += new EventHandler(_editAttributesPage_ClickOk);
}
}
But it's apparently limited to the manage edits task ans synchronyze task.Is it possible to catch the same event from the Identify task? From the search task?Is there a way to catch click ok from any of EditFeatureAttributesPage?I hope I am clear.Thank you for your help.Best regards, J.