We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Source code of Alert Window

Thread ID:

Created:

Updated:

Platform:

Replies:

119988 Aug 20,2015 12:42 PM UTC Aug 21,2015 12:18 PM UTC Windows Forms 1
loading
Tags: ScheduleControl
Rasika
Asked On August 20, 2015 12:42 PM UTC

Hi,
I want to customize the alert window of schedule control but I didn't find the source code.
Please give me the solution.

Thank you and regards,
Rasika

Adhikesevan Kothandaraman [Syncfusion]
Replied On August 21, 2015 12:18 PM UTC

Hi Rasika,

 

Thank you for your interest in Syncfusion products.

 

If you want to customize the Alert window of the schedule control, you can use the scheduleControl1.AlertWindow’ property. AlertForm has one internal grid which can also be accessed. Here, I have customized the AlertWindow through VisibleChangedevent.

 

Code snippet:

 

//Invoke the event to customize the alert window while showing.

this.scheduleControl1.AlertWindow.VisibleChanged += AlertWindow_VisibleChanged;

this.scheduleControl1.EnableAlerts = true;

 

void AlertWindow_VisibleChanged(object sender, EventArgs e)

{

    AlertForm form = sender as AlertForm;

    if(form !=null && form.Visible)

    {

        form.StartPosition = FormStartPosition.CenterParent;

        form.buttonDismiss.BackColor = Color.LightPink;       

        //form.Grid is the internal grid -> GridControl

        form.Grid.QueryCellInfo += Grid_QueryCellInfo;

    }

}

 

Sample:

http://www.syncfusion.com/downloads/support/forum/119988/ze/Schedule-1477623254

 

Please let me know if you have any concerns.

 

Regards,

Adhi.


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;