Disable week number

16 posts, 0 answers
  1. Nirmal
    Nirmal avatar
    14 posts
    Member since:
    Dec 2008

    Posted 02 Dec 2008 Link to this post

    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
  2. Valeri Hristov
    Admin
    Valeri Hristov avatar
    2252 posts

    Posted 02 Dec 2008 Link to this post

    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.
  3. DevCraft banner
  4. Greg
    Greg avatar
    8 posts
    Member since:
    Dec 2007

    Posted 26 Aug 2009 Link to this post

    Has this been implemented yet?
  5. Kaloyan
    Admin
    Kaloyan avatar
    920 posts

    Posted 28 Aug 2009 Link to this post

    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.
  6. Fernando Clapis
    Fernando Clapis avatar
    1 posts
    Member since:
    Sep 2009

    Posted 07 Sep 2009 Link to this post

        xmlns:tkprimitives="clr-namespace:Telerik.Windows.Controls.Primitives;assembly=Telerik.Windows.Controls" 
        xmlns:tki="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Input" 
     
    1                 <tki:RadDatePicker x:Name="datePicker" Width="100"
    2                     <!--Hiding week number--> 
    3                     <tki:RadDatePicker.MonthViewPanel> 
    4                         <ItemsPanelTemplate> 
    5                              <tkprimitives:RadUniformGrid Columns="8" Rows="7" FirstColumn="1" HideFirstColumn="true" /> 
    6                         </ItemsPanelTemplate> 
    7                     </tki:RadDatePicker.MonthViewPanel> 
    8                 </tki:RadDatePicker> 
    9  

  7. Sergey
    Sergey avatar
    22 posts
    Member since:
    Aug 2008

    Posted 26 Jul 2010 Link to this post

    This solution has Sunday shown in a different color.  Any other suggestions?
    THanks.
    Sergey
  8. George
    Admin
    George avatar
    1332 posts

    Posted 29 Jul 2010 Link to this post

    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
  9. Terry
    Terry avatar
    157 posts
    Member since:
    Jul 2009

    Posted 22 Aug 2010 Link to this post

    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 
  10. George
    Admin
    George avatar
    1332 posts

    Posted 23 Aug 2010 Link to this post

    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
  11. Murray
    Murray avatar
    121 posts
    Member since:
    Aug 2010

    Posted 13 Sep 2010 Link to this post

    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?
  12. George
    Admin
    George avatar
    1332 posts

    Posted 16 Sep 2010 Link to this post

    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
  13. Murray
    Murray avatar
    121 posts
    Member since:
    Aug 2010

    Posted 16 Sep 2010 Link to this post

    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
  14. George
    Admin
    George avatar
    1332 posts

    Posted 17 Sep 2010 Link to this post

    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
  15. Murray
    Murray avatar
    121 posts
    Member since:
    Aug 2010

    Posted 17 Sep 2010 Link to this post

    Thanks for the explanation George!
  16. Terry
    Terry avatar
    157 posts
    Member since:
    Jul 2009

    Posted 26 Jun 2011 Link to this post

    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

  17. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 30 Jun 2011 Link to this post

    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
Back to Top
DevCraft banner