How to disable data scrolling when I click the date in monthPrev and month Next at XamMonthCalendar with groupmode?
Hello,
I am checking if this is still an issue for you.
If you require any further assistance please do not hesitate to ask.
Sincerely,
Ekaterina
Developer Support Engineer
Infragistics
www.infragistics.com/support
Thank you for ur reply
What i make, is a 3MonthSelectable Calendar control which, bases on xamCalendar or xamMonthCalendar.
I referenced the samples of NetAdvantage, there is a customized Calendar which is composed of a big current month and a small prevMonth and a small nextMonth.
I have been looking into your question and if you want to turn off this functionality you can refer to the AllowLeadingAndTrailingGroupActivation property. If you take a look at the sample in the feature browser : WPF FeatureBrouser -> xamCalendar -> Themes and Custom Styles -> Customizing the xamCalendar, you will notice that there is an Options box in the upper left corner, which contains a single checkbox. If you check it and try to reproduce the undesired behavior, you can see that clicking on other months days will not result in scrolling the leading month to the corresponding date. For more information on how to set the AllowLeadingAndTrailingGroupActivation, you can take a look in the sample’s xaml code.
Please let me know if you need any further assistance regarding the discussed matter.
Infragistics, Inc.
When I set the property
AllowLeadingAndTrailingGroupActivation="True"
When click the today button , today will not allways show in the MainCalendar in the middle.
How to solve this problem.
Hi user12341234 ,
I was looking into your issue and I have contacted the developers team for additional information.
I will follow up with you as soon as I have feedback from them.
Infragistics Inc .
Hello user12341234,
I am glad that you have manage to find a solution.
Is the issue still standing for you? In case of other concerns I will be glad to assist you
When IsLeadingGroup ="True"
When IsLeadingGroup ="False"
in this case, Setting IsLeadingGroup ="True" will cause the null data month. it seem not good enough.
luckily I found that I can use referrenceday property to set the active date in the middle main calendar.
I have received an update from the developers team.
In this example from the Feature Browser that we have discussed previously, the two small CalendarItemGroups are with properties IsLeadingGroup and IsTrailingGroup set to true for the first and second respectively. This means that those calendar groups are given less priority. There are cases where months should be given less priority and allowed to be empty, such as when showing a small preview of the previous and/or next month. When IsLeadingGroup or IsTrailingGroup is set to true, the CalendarBase will ignore these groups when adjusting/calculating the reference date and therefore these groups may be empty.
This said, in case you want to have today date selected in the big CalendarItemGroup, you can keep IsLeadingGroup and IsTrailingGroup set to true and not set the AllowLeadingAndTrailingGroupActivation to true.
Please let me know if you have further questions regarding the discussed matter.
I have logged this behavior with our developers in our tracking system, with an issue ID of 110713. I have also created a support ticket on your behalf with number CAS-88238-0TXSCY in order to link the development issue to it so that you are automatically updated when a Service Release containing your fix is available for download.