Niavigation stops working after adding ResourceTypes

4 posts, 0 answers
  1. Ilya
    Ilya avatar
    67 posts
    Member since:
    Jul 2012

    Posted 16 Aug 2011 Link to this post

    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
  2. Plamen
    Admin
    Plamen avatar
    2933 posts

    Posted 17 Aug 2011 Link to this post

    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.

  3. Ilya
    Ilya avatar
    67 posts
    Member since:
    Jul 2012

    Posted 17 Aug 2011 Link to this post

    Unfortunately this does not answer my question. i already saw those pages and have followed the directions. Did you see my code?
  4. Plamen
    Admin
    Plamen avatar
    2933 posts

    Posted 23 Aug 2011 Link to this post

    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 >>

Back to Top