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

Confusion about Scheduler properties

3 Answers 99 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Rich
Top achievements
Rank 1
Rich asked on 29 Jun 2010, 10:30 PM
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>

 

3 Answers, 1 is accepted

Sort by
0
Schlurk
Top achievements
Rank 2
answered on 01 Jul 2010, 06:00 PM
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 :)
0
Rich
Top achievements
Rank 1
answered on 02 Jul 2010, 03:59 PM
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
0
Peter
Telerik team
answered on 12 Jul 2010, 09:15 AM
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
Tags
Scheduler
Asked by
Rich
Top achievements
Rank 1
Answers by
Schlurk
Top achievements
Rank 2
Rich
Top achievements
Rank 1
Peter
Telerik team
Share this question
or