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.

StartDate is wrong: it's always the first day of week

Thread ID:

Created:

Updated:

Platform:

Replies:

123592 Apr 1,2016 01:14 PM Apr 6,2016 01:13 PM Windows Forms 3
loading
Tags: ScheduleControl
Dario Fraschini
Asked On April 1, 2016 01:14 PM

Hello,
When I try to add an Appointment, I always have the start date like the first day of the current week.
I want to set it as the double-clicked item column.
Is there a way to take the date from the double-clicked cell (for example take the column caption)?

Thanks.
Dario.

Piruthiviraj Malaimelraj [Syncfusion]
Replied On April 4, 2016 08:28 AM

Hi Dario,


Thank you for using Syncfusion products,

The ShowingAppointmentForm event can be used to customize the Appointment form and please refer the below code snippet to get the column caption.

Code snippet     

void scheduleControl1_ShowingAppointmentForm(object sender, ShowingAppointFormEventArgs e)

{

           

  Object date= this.scheduleControl1.GetScheduleHost().Model[0,ColumnIndex].CellValue;
}

Sample

http://www.syncfusion.com/downloads/support/forum/123592/ze/CS-2004684458

Regards,
Piruthiviraj


Dario Fraschini
Replied On April 5, 2016 09:06 AM

Thanks for the help.
I also tried to do the same for the hour (row), but i had no success.

Can you give me a hint?
Thank you.

Amresh S [Syncfusion]
Replied On April 6, 2016 01:13 PM

Hi Dario,

Please create a new incident for this query in your direct-trac account for better follow ups. You can create an incident in the below link.

https://www.syncfusion.com/account/login

Regards,
Amresh S.

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.

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.

;