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

RadScheduler in YearView

4 Answers 129 Views
Scheduler and Reminder
This is a migrated thread and some comments may be shown as answers.
tran
Top achievements
Rank 1
tran asked on 04 Jan 2011, 02:48 AM
Hi Guy, Is there anybody know how to show RadScheduler in year view. I mean that how I can show the RadScheduler table that each column represents date in month and each row illustrates month. I want this feature for my project.

P/S: I knew in RadScheduler , it had activeViewType property that show in :Day, MultiDay, Week, WorkWeek,...However it doesn't has year show.

Thanks.

Tran Dat

4 Answers, 1 is accepted

Sort by
0
Richard Slade
Top achievements
Rank 2
answered on 04 Jan 2011, 09:09 PM
Hello,

As far as I'm aware, the RadScheduler does not currently support a Year View. The highest level of view supported is a Month View
You can however also change the Navigation Step which may also be useful to you.

Hope that helps
Richard
0
Dobry Zranchev
Telerik team
answered on 05 Jan 2011, 04:00 PM
Hi tran,

Thank you for writing. 

Currently, we do not support the exact view that you have defined. The year view that RadScheduler supports can be shown by executing the following code lines:
this.radScheduler1.ActiveViewType = SchedulerViewType.Timeline;
this.radScheduler1.GetTimelineView().ShowTimescale(Timescales.Years);

In case that you have other questions, feel free to write back.

All the best,
Dobry Zranchev
the Telerik team
Q3’10 SP1 of RadControls for WinForms is available for download; also available is the Q1'11 Roadmap for Telerik Windows Forms controls.
0
atul
Top achievements
Rank 1
answered on 26 Oct 2011, 12:26 AM
this.radScheduler1.ActiveViewType = SchedulerViewType.Timeline;
this.radScheduler1.GetTimelineView().ShowTimescale(Timescales.Years);

Whenever im typing id of scheduler i dont get that "ActiveViewType"  property and therefore cant chagnge the timeline
from dates to hours 

my HTML is 

<telerik:RadScriptManager ID="RadScriptManager1" runat="server">
    </telerik:RadScriptManager>

 <telerik:RadScheduler runat="server" ID="RadScheduler1" SelectedView="TimelineView">
        <TimelineView GroupBy="User" GroupingDirection="Vertical" />
        <ResourceStyles>
            <telerik:ResourceStyleMapping Type="Room" ApplyCssClass="rsCategoryOrange" Text="Room 101" />
            <telerik:ResourceStyleMapping Type="Room" ApplyCssClass="rsCategoryGreen" Text="Room 102" />
            <telerik:ResourceStyleMapping Type="Room" ApplyCssClass="rsCategoryPink" Text="Room 201" />
            <telerik:ResourceStyleMapping Type="Room" ApplyCssClass="rsCategoryViolet" Text="Room 202" />
        </ResourceStyles>
        <WebServiceSettings Path="ShedulerWebService.asmx" ResourcePopulationMode="ServerSide" />
    </telerik:RadScheduler>

CODE BEHIND IS

 Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        If Not Page.IsPostBack Then


        End If




        RadScheduler1.ResourceTypes.Add(New ResourceType("User"))
        RadScheduler1.Resources.Add(New Resource("User", "1", "Atul"))






    End Sub




0
Ivan Todorov
Telerik team
answered on 28 Oct 2011, 10:39 AM
Hello Atul,

The current thread concerns the Windows Forms version of RadScheduler. As far as I understand from the code you have posted, you are using the ASP.NET AJAX version which is fairly different. That is why you cannot access the ActiveViewType property. You can ask your question in the corresponding ASP.NET AJAX forums for more information on how to achieve your scenario.

Hope this is useful.

Greetings,
Ivan Todorov
the Telerik team

Q2’11 SP1 of RadControls for WinForms is available for download (see what's new); also available is the Q3'11 Roadmap for Telerik Windows Forms controls.

Tags
Scheduler and Reminder
Asked by
tran
Top achievements
Rank 1
Answers by
Richard Slade
Top achievements
Rank 2
Dobry Zranchev
Telerik team
atul
Top achievements
Rank 1
Ivan Todorov
Telerik team
Share this question
or