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

Scheduler - Group By displays no data

1 Answer 47 Views
This is a migrated thread and some comments may be shown as answers.
Top achievements
Rank 1
Louise asked on 10 Oct 2012, 09:07 AM
I have the following scheduler which is bound to a datatable in the codebehind

<telerik:RadScheduler runat="server" ID="RadScheduler1" StartEditingInAdvancedForm="false"

Width="100%" DayStartTime="08:00:00" DayEndTime="18:00:00" Height="565px" WeekHeaderDateFormat="dd-MMM-yyyy"



DisplayDeleteConfirmation="False" AllowDelete="false"


DataKeyField="ID" DataSubjectField="Title" DataStartField="StartDate" DataEndField="EndDate"

FirstDayOfWeek="Monday" LastDayOfWeek="Sunday" SelectedView="MonthView"



In the codebehind:


OleDbDataAdapter dbAdapter = new System.Data.OleDb.OleDbDataAdapter(SelectCommand, dbCon);

DataSet ds = new DataSet();


RadScheduler1.DataSource = ds.Tables[0]


//RadScheduler1.GroupBy = "title";


//RadScheduler1.GroupingDirection = GroupingDirection.Vertical;


The select command contains the field title, which is the name of the group. This all works fine until the group by code is put back in and then nothing is displayed.

Any help appreciated thanks.

1 Answer, 1 is accepted

Sort by
Boyan Dimitrov
Telerik team
answered on 15 Oct 2012, 10:32 AM
Hello Louise,

Considering the provided markup code I would like to suggest you to review our online demo that shows GroupBy functionality and our help article. Please keep in mind that:

  1. RadScheduler grouping functionality works only with resources.
  2. If any resource name is identical with any of the data source fields such as "Subject" for example it will cause an unusual behavior.

I hope this was helpful.

Boyan Dimitrov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Asked by
Top achievements
Rank 1
Answers by
Boyan Dimitrov
Telerik team
Share this question