RadScheduler in YearView

5 posts, 0 answers
  1. tran
    tran avatar
    8 posts
    Member since:
    Oct 2010

    Posted 03 Jan 2011 Link to this post

    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
  2. Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 04 Jan 2011 Link to this post

    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
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Dobry Zranchev
    Admin
    Dobry Zranchev avatar
    348 posts

    Posted 05 Jan 2011 Link to this post

    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.
  5. atul
    atul avatar
    7 posts
    Member since:
    Apr 2011

    Posted 25 Oct 2011 Link to this post

    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




  6. Ivan Todorov
    Admin
    Ivan Todorov avatar
    688 posts

    Posted 28 Oct 2011 Link to this post

    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.

Back to Top
UI for WinForms is Visual Studio 2017 Ready