Skip Navigation LinksHome / Community & Support / Code Library / ASP.NET and ASP.NET AJAX > Calendar > Calendar view displaying single week

Calendar view displaying single week

Feed from this thread
  • Posted on Jan 30, 2007 (permalink)

    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.

  • Posted on May 22, 2007 (permalink)

    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!

  • Giuseppe Giuseppe admin's avatar

    Posted on May 24, 2007 (permalink)

    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

  • Iana Tsolova Iana Tsolova admin's avatar

    Posted on Jul 24, 2009 (permalink)

    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

Skip Navigation LinksHome / Community & Support / Code Library / ASP.NET and ASP.NET AJAX > Calendar > Calendar view displaying single week