Confusion about Scheduler properties

4 posts, 0 answers
  1. Rich
    Rich avatar
    25 posts
    Member since:
    Jun 2010

    Posted 29 Jun 2010 Link to this post

    I am trying to use the Scheduler control to build a monthly calendar display of events.  The functionality needed is fairly simple and straightforward - all I need is to show is either one or two appointments per day, and respond to click events on the appointments.

    However, I am having trouble determining which properties should be specified to get the effect that I am looking for. The current markup for the scheduler control is shown below, and I have attached two jpegs - one of what the control currently looks like in operation, and another one of how I want it to look.

    The specific things I want to change are as follows:

    1. Eliminate the vertical line and blank space above the top of the control
    2. Provide next-prev controls for month and year
    3. Have the day header line match the detail lines below it.
    4. Be able to enter and display one or two appointments for a given day.

    Thank you

     

    <telerik:RadScheduler ID="ctlScheduler" runat="server"

     

     

    AllowDelete="False"

     

     

    AllowEdit="False"

     

     

    AllowInsert="False"

     

     

    BackColor="White"

     

     

    ColumnWidth="100"

     

     

    DataKeyField="ID"

     

     

    DataSourceID="ctlObjectSource"

     

     

    DataSubjectField="Description"

     

     

    DataStartField="StartTime"

     

     

    DataEndField="EndTime"

     

     

    DayStartTime="00:00:00"

     

     

    DayEndTime="23:59:59"

     

     

    MinutesPerRow="720"

     

     

    MonthView-AdaptiveRowHeight="false"

     

     

    MonthView-MinimumRowHeight="2"

     

     

    MonthView-ShowDateHeaders="true"

     

     

    MonthView-ReadOnly="true"

     

     

    MonthView-VisibleAppointmentsPerDay="2"

     

     

    ReadOnly="True"

     

     

    RowHeight="50"

     

     

    SelectedView="MonthView"

     

     

    ShowAllDayRow="False"

     

     

    ShowHeader="false"

     

     

    ShowViewTabs="False"

     

     

    TimeZoneOffset="05:00:00" >

     

     

    <MonthView ReadOnly="True" />

     

     

    </telerik:RadScheduler>

     

  2. Schlurk
    Schlurk avatar
    812 posts
    Member since:
    May 2009

    Posted 01 Jul 2010 Link to this post

    Have you tried looking into the Visual Style Builder? The tool is a very neat online app that allows you to design a skin and download it to use in you application. I believe all you would need to do is define a month view (since that seems to be what you're looking for) and skin that to your liking. I was playing around with it just to see if it would actually work for your particular scenario and from what I can tell it should be fairly easy to replicate :)
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Rich
    Rich avatar
    25 posts
    Member since:
    Jun 2010

    Posted 02 Jul 2010 Link to this post

    Schlurk,

    Thanks for the input - the style builder is cool - nice tool.

    However, the downloaded file for the stylebuilder does not contain the aspx markup code to implement the control and all of the content stuff that was created for it.  Am I missing something?

    Rich
  5. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 12 Jul 2010 Link to this post

    Hi Richard,

    Please, try the following settings and let me know if this is closer to your requirement.

    <telerik:RadScheduler ID="RadScheduler1" runat="server" SelectedView="MonthView"
          AllowDelete="False" AllowEdit="False" AllowInsert="False" BackColor="White" ShowFullTime="true"
          MonthView-AdaptiveRowHeight="false" MonthView-ShowDateHeaders="true" MonthView-ReadOnly="true"
          MonthView-VisibleAppointmentsPerDay="2" ReadOnly="True" RowHeight="50" ShowAllDayRow="False"
          ShowHeader="true" ShowViewTabs="False" TimeZoneOffset="05:00:00">
      </telerik:RadScheduler>


    Note that I have removed some of the properties that you set such as MinutesPerRow="720", ColumnWidth="100" and ShowHeader="false".


    Greetings,
    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
Back to Top