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.

"Blocked Time" Appearance

Thread ID:

Created:

Updated:

Platform:

Replies:

88472 Jul 24,2009 08:48 PM Aug 12,2009 09:22 AM ASP.NET Web Forms (Classic) 7
loading
Tags: Schedule
Israel Aece
Asked On July 24, 2009 08:48 PM

Hello,

I'm using the following code snippet to add a blocked time in my schedule control:

this.Schedule1.BlockedTimes.Add(
new ScheduleWebBlockedTime()
{
StartTime = new DateTime(2009, 7, 24, 12, 0, 0),
EndTime = new DateTime(2009, 7, 24, 13, 0, 0),
UniqueID = 1,
Owner = 1,
BackColor = Color.LightBlue,
Subject = "some subject"
});

My blocked time is only 1 hour interval, but the final result appears as 1:30, like you can note in attached image. Why?

Thanks in advanced.



BlockedTime_36825311.jpg

Melba Winshia [Syncfusion]
Replied On July 27, 2009 08:51 AM

Hi,

Thank you for your interest in Syncfusion Products.

I am afraid that I am not able to reproduce this issue. Also I have created a simple sample to test this issue and it is available in the following link:

http://files.syncfusion.com/samples/Tools.Web/7.3.0.20/88472_Schedule/main.htm

Please have a look at the above sample and if still the issue exists, could you please try reproducing in the above sample and send us the modified sample so that we could sort out the cause of the issue and provide you a solution?

Regards,
Melba



Israel Aece
Replied On July 30, 2009 07:55 AM

Thanks Melba,

But my problem is in BlockedTimes collection. Appointments are working well.

Israel Aece
Replied On July 30, 2009 08:07 AM

Hello,

Note this sample: http://samples.syncfusion.com/ASPNET/7.3.0.20/web/schedule.web/samples/3.5/Scheduler-BasicFeatures/EditingAppointments/cs/EditingAppointments.aspx

In codebehind, you have a method called SetBlockedTime, that create a blocked time and add in Schedule Control:

protected void SetBlockedTime()
{
this.Scheduler1.AllDayAppointmentRowVisible = true;
var sta = DateTime.Parse("02/19/2007 07:00:00", System.Globalization.CultureInfo.CreateSpecificCulture("en-US"));
var sBlockedTime = new ScheduleWebBlockedTime()
{
UniqueID = 8,
Owner = 1,
Subject = "Blocked Time Appoinment",
BackColor = Color.FromArgb(173, 209, 253),
StartTime = DateTime.Parse("02/19/2007 07:00:00", System.Globalization.CultureInfo.CreateSpecificCulture("en-US")),
EndTime = DateTime.Parse("02/19/2007 09:00:00", System.Globalization.CultureInfo.CreateSpecificCulture("en-US"))
};
this.Scheduler1.BlockedTimes.Add(sBlockedTime);
}

The Blocked Time is between 7 and 9, but its your appearance is inconsistent with these values.

Thanks.



ProblemBT_fc66a0d5.jpg

Melba Winshia [Syncfusion]
Replied On July 31, 2009 08:26 AM

Hi Israel,

Thank you for the update.

The issue reported by you is suspected to be a defect. We have forwarded this to our Development Team for further analysis. We will update you with our Development Team’s response in two business days.

Please let us know if you have any concerns.

Regards,
Melba

Melba Winshia [Syncfusion]
Replied On August 6, 2009 09:07 AM

Hi Israel,

Thank you for being patient.

This issue has been confirmed as a defect and we have logged a defect report. The fix for this issue will be available on or before August 24, 2007.

Please let me know if you have any concerns.

Thanks,
Melba

Israel Aece
Replied On August 7, 2009 11:48 AM

Hello Melba,

Could you notify me via e-mail when the patch will be avaliable for download?

If yes, my e-mail is ia@israelaece.com.

Thanks

Melba Winshia [Syncfusion]
Replied On August 12, 2009 09:22 AM

Hi Israel,

Thank you for the update.

We have created technical support incident #58943 under your Direct Trac account. We will update you with patch for this issue through Direct Trac. Please follow this issue in that incident.

Please let us know if you have any concerns.

Regards,
Melba

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.

;