This is a migrated thread and some comments may be shown as answers.

Disable week number

15 Answers 175 Views
DatePicker
This is a migrated thread and some comments may be shown as answers.
Nirmal
Top achievements
Rank 1
Nirmal asked on 02 Dec 2008, 07:24 AM
Hai,
    when i use the datepicker it shows the week number in left side.I want to disable the week number column.How can i do this?

Thanks,
Nirmal S

15 Answers, 1 is accepted

Sort by
0
Valeri Hristov
Telerik team
answered on 02 Dec 2008, 11:23 AM
Hi Nirmal,

I am afraid that it is currently impossible to hide the week numbers in RadDatePicker for Silverlight. I will add this as a feature for future implementation, though.

All the best,
Valeri Hristov
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Greg
Top achievements
Rank 1
answered on 26 Aug 2009, 09:33 PM
Has this been implemented yet?
0
Kaloyan
Telerik team
answered on 28 Aug 2009, 10:26 AM
Hi Greg,

The fixes will be included in the Friday latest internal build.

Kind regards,
Kaloyan
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Fernando Clapis
Top achievements
Rank 1
answered on 07 Sep 2009, 05:00 PM
    xmlns:tkprimitives="clr-namespace:Telerik.Windows.Controls.Primitives;assembly=Telerik.Windows.Controls" 
    xmlns:tki="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Input" 
 
                <tki:RadDatePicker x:Name="datePicker" Width="100"
                    <!--Hiding week number--> 
                    <tki:RadDatePicker.MonthViewPanel> 
                        <ItemsPanelTemplate> 
                             <tkprimitives:RadUniformGrid Columns="8" Rows="7" FirstColumn="1" HideFirstColumn="true" /> 
                        </ItemsPanelTemplate> 
                    </tki:RadDatePicker.MonthViewPanel> 
                </tki:RadDatePicker> 
 

0
Sergey
Top achievements
Rank 1
answered on 26 Jul 2010, 07:24 PM
This solution has Sunday shown in a different color.  Any other suggestions?
THanks.
Sergey
0
George
Telerik team
answered on 29 Jul 2010, 03:58 PM
Hi Sergey,

Thank you for contacting us.

You could refer to this topic in our forum: http://www.telerik.com/community/forums/wpf/datepicker/hide-week-number.aspx

I hope this helps! 

Regards,
George
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Terry
Top achievements
Rank 1
answered on 22 Aug 2010, 10:06 PM
Hi:

The above link is to a WPF solution.  There is no AreWeekNamesVisible property available in Silverlight that I can find.

What is the current solution for hiding the week number in the SL4 RadDatePicker?  It seems like the default ought to be that the week number is hidden.

Terry 
0
George
Telerik team
answered on 23 Aug 2010, 01:03 PM
Hi Terry,

This WPF solution for RadDatePicker control applies for Silverlight as well. AreWeekNamesVisible property is obsolete and that's why you cannot access it.

I hope this helps.

Greetings,
George
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Murray
Top achievements
Rank 2
answered on 13 Sep 2010, 01:52 PM
So what is the answer for Silverlight? You say that the WPF solution applies for Silverlight aswell, yet the property is obsolete in Silverlight?

This seems like a contradiction?

I was hoping that all the properties for the Calendar control would be available in the DatePicker control?
0
George
Telerik team
answered on 16 Sep 2010, 10:18 AM
Hi Murray,

 

I will answer you in the same way I did in the other tickets:

We introduced our new RadDateTimePicker control this Q2 release and we made some required changes with date and time pickers. We tried to make as few changes to the controls as possible. Now RadDatePicker and RadTimePicker controls inherit RadDateTimePicker.

These properties are Obsolete for now. That's the reason they have no effect on the calendar. They will be removed in Q3 release. If you want to disable the week numbers, for example, I would suggest you to set a Style for CalendarStyle property and in this style you could set the value for the property AreWeekNumbersVisible to False. The same is for the other properties. 

The main reason to obsolete all these properties is to keep the usage of RadDate/TimePicker in Silverlight and WPF standardized.


Kind regards,
George
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Murray
Top achievements
Rank 2
answered on 16 Sep 2010, 01:10 PM
Thanks again George for your response.

I appreciate the need for standardization (dont we all?), however I'm still confused why these properties cant be exposed as the standard? What Im saying is, the properties are there within the template. I realize the template is accessing the stand alone calendar control but this form of dependency is having a negative effect on the datepickers functionaility. I'm not trying to change the base template of the calander, but trying to set it's properties.

Hence I am still confused why the properties cant be exposed publicly?

My feeling is that this is not the way Telerik wish to go and I will have to live with that fact? The components are great and very helpful/feature rich! I did an in depth comparison with competing vendors and Telerik (in my opinion) is way ahead of the rest.

Cheers,
Murray
0
George
Telerik team
answered on 17 Sep 2010, 03:22 PM
Hello Murray,

Exposing all these properties will flood the RadDateTimePicker control with a large number of properties and we definitely don't want this scenario. Also, if you use RadTimePicker control, for example,
AreWeekNamesVisible property will be visible and it might cause a mess.

Please do not hesitate to contact us if you require any further information.

Greetings,
George
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Murray
Top achievements
Rank 2
answered on 17 Sep 2010, 09:43 PM
Thanks for the explanation George!
0
Terry
Top achievements
Rank 1
answered on 26 Jun 2011, 07:46 PM

There are so many posts on this subject!

I get error "The attachable property MonthViewPanel was not found in the type 'RadDatePicker' when I use the following code:

<telerik:RadDatePicker.MonthViewPanel>
     <ItemsPanelTemplate
          <tkprimitives:RadUniformGrid Columns="8" Rows="7" FirstColumn="1" HideFirstColumn="true" /> 
     </ItemsPanelTemplate
 </telerik:RadDatePicker.MonthViewPanel

Is there an SL4 solution for this yet short of a custom template?  It's been a problem for a long time.  If nothing else, change the default to not show week numbers.  No one seems to want them.

Thanks,

Terry

0
Konstantina
Telerik team
answered on 30 Jun 2011, 04:14 PM
Hello Terry,

Could you please share with use from where did you get this template? Has Blend generated it? Also, which version of the DatePicker are you using? Are you trying to remove the week numbers?
Could you please try with the latest version of the controls - the Q2 2011 Beta version and let us know if you still experience the issue.

Best wishes,
Konstantina
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
DatePicker
Asked by
Nirmal
Top achievements
Rank 1
Answers by
Valeri Hristov
Telerik team
Greg
Top achievements
Rank 1
Kaloyan
Telerik team
Fernando Clapis
Top achievements
Rank 1
Sergey
Top achievements
Rank 1
George
Telerik team
Terry
Top achievements
Rank 1
Murray
Top achievements
Rank 2
Konstantina
Telerik team
Share this question
or