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

Niavigation stops working after adding ResourceTypes

3 Answers 41 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Ilya
Top achievements
Rank 1
Ilya asked on 16 Aug 2011, 09:16 PM
I need to add user names and their appointments in the timeline view so in order to achieve that I am adding ResourceTypes to the scheduler in the following manner:

<asp:SqlDataSource ID="sqlMain" runat="server"></asp:SqlDataSource>
<asp:SqlDataSource ID="sqlUsers" runat="server"></asp:SqlDataSource>
<telerik:RadScheduler ID="radSchedule1" runat="server" Height="100%"
MinutesPerRow="15" Skin="Web20" StartInsertingInAdvancedForm="True"
AdvancedForm-Modal="True" AdvancedForm-Width="400px" TimelineView-GroupBy="Users" TimelineView-GroupingDirection="Vertical"  FirstDayOfWeek="Monday" SelectedView="WeekView" Localization-HeaderWeek="Work Week">
<ResourceTypes>
    <telerik:ResourceType KeyField="UserId" Name="Users" TextField="Name" ForeignKeyField="UserId" DataSourceID="sqlUsers" />
</ResourceTypes>
<AdvancedInsertTemplate>
  ......
</AdvancedInsertTemplate>
<AdvancedEditTemplate>
  ......
</AdvancedEditTemplate>
</telerik:RadScheduler>

As soon as I add the <ResourceTypes> part the scheduler navigation stops working (Day, Week, Month, Timeline and others). Would could be causing this behavior? Thanks

3 Answers, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 17 Aug 2011, 04:25 PM
Hello Ilya,

You can have a look at the Defining Resources demo where is shown the same scenario and the help topic Working with Resources.

I hope this helps.

Regards,
Plamen Zdravkov
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Ilya
Top achievements
Rank 1
answered on 17 Aug 2011, 04:27 PM
Unfortunately this does not answer my question. i already saw those pages and have followed the directions. Did you see my code?
0
Plamen
Telerik team
answered on 23 Aug 2011, 07:50 AM
Hello Ilya,

I've made some modifications in your project that you send us via support ticket and tested it, but I could not observe any unusual navigation behaviour. Here is the video of my test.
http://screencast.com/t/kkmU62LnAk

Hope this will be helpful.

Greetings,
Plamen Zdravkov
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Tags
Scheduler
Asked by
Ilya
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Ilya
Top achievements
Rank 1
Share this question
or