/// <summary> /// CRM2013 Only: Displays a dialog box containing an application-defined message /// </summary> /// <param name="message">The text of the message to display in the dialog</param> /// <param name="onCloseCallback">A function to execute when the OK button is clicked</param> /// <remarks>This method is only available for Updated Entities</remarks> public static void AlertDialog(string message, ParameterlessFunctionHandler onCloseCallback) { }
/// <summary> /// CRM2013 Only: Displays a confirmation dialog box that contains an optional message as well as OK and Cancel buttons /// </summary> /// <param name="message">The text of the message to display in the dialog</param> /// <param name="yesCloseCallback">A function to execute when the OK button is clicked</param> /// <param name="noCloseCallback">A function to execute when the Cancel button is clicked</param> /// <remarks>This method is only available for Updated Entities</remarks> public static void ConfirmDialog(string message, ParameterlessFunctionHandler yesCloseCallback, ParameterlessFunctionHandler noCloseCallback) { }
/// <summary> /// Adds a function to be called when the record is saved /// </summary> public void AddOnSave(ParameterlessFunctionHandler function) { }
/// <summary> /// Removes a function to be called when the record is saved /// </summary> public void RemoveOnSave(ParameterlessFunctionHandler function) { }
/// <summary> /// Exposes optional callback functions to be executed after an async operation is completed. /// Save and Refresh functions /// </summary> /// <param name="SuccessCallbackHandler">A function to call when the operation succeeds</param> /// <param name="ErrorCallbackHandler">A function to call when the operation fails</param> public void Then(ParameterlessFunctionHandler SuccessCallbackHandler, ErrorCallbackHandler ErrorCallbackHandler) { }
/// <summary> /// Sets a function to be called when the attribute value is changed /// </summary> public void AddOnChange(ParameterlessFunctionHandler function) { }
/// <summary> /// CRM2013 Only: Exposes optional callback functions to be executed after an async operation is completed. /// Save and Refresh functions /// </summary> /// <param name="SuccessCallbackHandler">A function to call when the operation succeeds</param> /// <param name="ErrorCallbackHandler">A function to call when the operation fails</param> public void Then(ParameterlessFunctionHandler SuccessCallbackHandler, ErrorCallbackHandler ErrorCallbackHandler) { }
/// <summary> /// Use this method to remove event handler functions that have previously been set for the PreSearch event /// </summary> /// <param name="RemovePreSearchHandler">Function to remove</param> public void RemovePreSearch(ParameterlessFunctionHandler RemovePreSearchHandler) { }
/// <summary> /// Use this method to apply changes to lookups based on values current just as the user is about to view results for the lookup /// </summary> /// <param name="AddPreSearchHandler">Function to add. The argument is a function that will be run just before the search to provide results for a lookup occurs. You can use this handler to call one of the other lookup control functions and improve the results to be displayed in the lookup.</param> public void AddPreSearch(ParameterlessFunctionHandler AddPreSearchHandler) { }