Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2430
Can you change the default delete text
posted

Have an UltraMonthViewSingle - create an appointment and hit delete and comes up with a delete dialog by default.  What is the easiest way of rewording the dialog?

Parents
  • 53790
    Suggested Answer
    posted

    Hello,

    maybe one possible approach could be, if you handle BeforeActivitiesDeleted() event and include the code below:

    void ultraMonthViewSingle1_BeforeActivitiesDeleted(object sender, BeforeActivitiesDeletedEventArgs e)

            {

                e.DisplayPromptMsg =false;

               if (MessageBox.Show("This is my custom message", "Delete", MessageBoxButtons.OKCancel) == System.Windows.Forms.DialogResult.Cancel)

                {

                    e.Cancel =true;

                }

            }

     

    Please let me know if you have any questions.

    Regards

Reply Children