Calendar view displaying single week

Thread is closed for posting
4 posts, 0 answers
  1. 63F75A2C-1F16-4AED-AFE8-B1BBD57646AD
    63F75A2C-1F16-4AED-AFE8-B1BBD57646AD avatar
    1572 posts
    Member since:
    Oct 2004

    Posted 30 Jan 2007 Link to this post


    RadCalendar for ASP .NET version

    RadControls for ASP .NET AJAX version

    2.0.1 and later

    2008.1.415 and later

    .NET version

    2.0 (RadCalendar for ASP .NET)

    2.0 and later (RadControls for ASP .NET AJAX)

    Visual Studio version

    2005/2008 (RadCalendar for ASP .NET)

    2005 and later(RadControls for ASP .NET AJAX)

    Programming language

    Browser support

    all supported by RadCalendar for ASP .NET

    all browsers supported by RadControls for ASP .NET AJAX

    The project demonstrates how the calendar instance can be used to display single week. Using the buttons for a month navigation (">" and "<") the calendar navigates through the month weeks and using the buttons for fast navigation (">>" and "<<") it navigates 3 weeks forward/backward.
    On postback triggered by a calendar navigation we need to intercept the event argument ("n:step") and modify it according to the project goal (display single week) and whether the month view should be changed or not. On DayRender event of the control we hide ("display:none") all view rows, which do not have the week number that we are navigating to.
  2. 5D7D322D-6FE7-4D93-B668-308B6D807B87
    5D7D322D-6FE7-4D93-B668-308B6D807B87 avatar
    41 posts
    Member since:
    Jan 2006

    Posted 22 May 2007 Link to this post

    I'm trying to modify your code example to display two weeks at a time.  I'm having trouble.  It seems like you are hiding week rows that arent the current week and I'm trying to change it to hide rows that aren't the current week and the next week.  Has anyone pulled this off?

  3. FCA2D288-F6EC-4724-BAB8-B03BBE745D7B
    FCA2D288-F6EC-4724-BAB8-B03BBE745D7B avatar
    2363 posts
    Member since:
    Mar 2023

    Posted 24 May 2007 Link to this post

    Hello Robert Strazzarino,

    We have attached a modified version of the project that demonstrates how you could display two weeks at a time.

    Hope this helps.

    Sincerely yours,
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  4. 35FC6F20-EEB5-48C4-B91B-06C770662FC5
    35FC6F20-EEB5-48C4-B91B-06C770662FC5 avatar
    3388 posts
    Member since:
    Apr 2016

    Posted 24 Jul 2009 Link to this post


    Here is attached an updated version of the calendar view displaying single week project which is for RadCalendar for ASP.NET AJAX.

    Kind regards,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top

This Code Library is part of the product documentation and subject to the respective product license agreement.