Calendar view displaying single week

Thread is closed for posting
4 posts, 0 answers
  1. Telerik Admin
    Telerik Admin avatar
    1679 posts
    Member since:
    Oct 2004

    Posted 30 Jan 2007 Link to this post

    Requirements

    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

    C#
    Browser support

    all supported by RadCalendar for ASP .NET


    all browsers supported by RadControls for ASP .NET AJAX


     
    PROJECT DESCRIPTION
    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. Robert Strazzarino
    Robert Strazzarino 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?

    Thanks!
  3. Giuseppe
    Admin
    Giuseppe avatar
    2363 posts

    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,
    Manuel
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  4. Iana Tsolova
    Admin
    Iana Tsolova avatar
    3388 posts

    Posted 24 Jul 2009 Link to this post

    Hello,

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

    Kind regards,
    Iana
    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