Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 343987
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T10:56:55+00:00 2026-05-12T10:56:55+00:00

When the calendar control provided in the WPF toolkit (and included in .Net 4)

  • 0

When the calendar control provided in the WPF toolkit (and included in .Net 4) is displayed in “month view”, it displays days from the previous and the next month, filling up the entire calendar. When you click on a day of the previous or next month, it will scroll a month backwards or forwards automatically. This behavior is throwing my users off.

Is there any way to prevent this automatic scrolling from happening?

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T10:56:56+00:00Added an answer on May 12, 2026 at 10:56 am

    If you set the DisplayDateStart property to the first day of the month and the DisplayDateEnd property to the last day of the month, those days from other months are not show, and hence cannot be clicked on.

    If you can do it in xaml, it would look like this:

     <my:Calendar Margin="50,49,48,43" Name="calendar1"  SelectionMode="MultipleRange"
         DisplayMode="Month" DisplayDateStart="2009-08-01" DisplayDateEnd="2009-08-31"/>
    

    But that would only work if you knew that dates at design time. So you would probably want to set the dates in the code.

            calendar1.DisplayDateStart = new DateTime(2009, 08, 01);
            calendar1.DisplayDateEnd = new DateTime(2009, 08, 31);
    

    Of coarse you would need to provide the first and last day of the particular month.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm attempting to create a custom calendar control that inherits from ASP.Net's built in
I plan to use a WPF Calendar control to display fiscal month/years. When I
By default asp.net calendar control shows dates of current month. How is it possible
I'm developing an app using Month calendar control of C#.net . I am wondering
I'm using the WPF toolkit's Calendar control to allow users to select a date.
I tried to configure the Ext.NET asp.net calendar control to view my own events
I have used Ajax Calendar extender control (from here ) in my asp.net 3.5
I have a calendar control derived from DataGridView. A custom item hover event is
I am using the AJAX Control Toolkit Popup Calendar Control in a datagrid. When
I've written a simple calendar control to allow for selecting single days, weeks, months

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.