This is a migrated thread and some comments may be shown as answers.

Chrome, ColumnHeaderDateFormat and swedish culture.

5 Answers 53 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Daniel
Top achievements
Rank 1
Daniel asked on 10 Aug 2010, 02:17 PM
Hi, 

I have noticed that the RadScheduler fails to render all the dates in the column header in Chrome using timelineview mode. I have only tried with swedish culture standards.

It can be achieved by either:
1. Setting the TimelineView-ColumnHeaderDateFormat to "yyyy-MM-dd".
2. Settings the RadSchedulers Culture to sv-SE.

It works perfectly using american culture or date format.

Is this a known bug or is there any workaround?

Best regards,
Daniel

5 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 12 Aug 2010, 11:10 AM
Hello Daniel,

Thank you for your report. We tried to replicate the problem, but to no avail. Attached is a screenshot of our test results. What are your other RadScheduler settings?


All the best,
Peter
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Daniel
Top achievements
Rank 1
answered on 12 Aug 2010, 01:03 PM
Hi Peter!

Yes, I forgot to add that it appears when I'm databinding via webservices.

My sample code to reproduce it is as follows:

<t:RadScheduler runat="server"
    ID="tlView"
    SelectedView="TimelineView"
    DataKeyField="ID"
    DataStartField="Start"
    DataEndField="End"
    TimelineView-ColumnHeaderDateFormat="yyyy-MM-dd"
    TimelineView-NumberOfSlots="7"
>    
    <WebServiceSettings Path="~/Bookings.asmx" GetAppointmentsMethod="GetAppointmentsTest" />          
</t:RadScheduler>

and in my Bookings.asmx.cs:

[WebService(Namespace = "http://tempuri.org/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
[System.ComponentModel.ToolboxItem(false)]   
[System.Web.Script.Services.ScriptService]   
public class Bookings : System.Web.Services.WebService
{  
    [WebMethod]
    public IEnumerable<AppointmentData> GetAppointmentsTest(SchedulerInfo schedulerInfo) {
        List<AppointmentData> data = new List<AppointmentData>();
        data.Add(new AppointmentData() { ID = "0", Start = DateTime.Today.AddHours(8), End = DateTime.Today.AddHours(10), Subject = "Testbooking", Description = string.Format("{0}-{1}", DateTime.Today.AddHours(8).ToString("t"), DateTime.Today.AddHours(10).ToString("t")) });
        return data;
    }
}

Which results in the scheduler looking like the attached file.

Best regards, 
Daniel
0
Peter
Telerik team
answered on 16 Aug 2010, 04:17 PM
Hi Daniel,

Thank you for the additional info. I used to create a test page, but still the problem didn't show up at our end. Please, check the attached sample and let me know if there is anything different compared to your implementation.


All the best,
Peter
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Daniel
Top achievements
Rank 1
answered on 16 Aug 2010, 04:48 PM
Hi again Peter!

Yes, your sample works using the older Telerik assemblies for .NET 3.5 (tested with version 2009.3.1208.35). I am however using .NET 4.0 and VS 2010.

By simply loading your sample with VS 2010, converting it to .NET 4.0, and adding the latest Telerik assemblies (I've got version 2010.2.713.40), the problem occurs again for me.

I apologize for missing out on telling you about this a bit earlier.

Best regards,
Daniel
0
Peter
Telerik team
answered on 19 Aug 2010, 10:05 AM
Hi Daniel,

Even with the .NET 40 Telerik.Web.UI assembly, we still cannot replicate the problem. Here is a video capture of our tests - http://screencast.com/t/MTVkNWExMjY. Let me know if I am missing something.



Best wishes,
Peter
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Scheduler
Asked by
Daniel
Top achievements
Rank 1
Answers by
Peter
Telerik team
Daniel
Top achievements
Rank 1
Share this question
or