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

Hiding Week Number Column

3 Answers 807 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
terrysmith
Top achievements
Rank 1
terrysmith asked on 17 Apr 2008, 10:01 PM
Is there a way to hide the week number column in the DatePicker without customizing the stylesheet? I've looked for an API property and haven't seen one. Did I miss it?

Thanks,
Terry

3 Answers, 1 is accepted

Sort by
0
Konstantin Petkov
Telerik team
answered on 18 Apr 2008, 06:43 AM
Hi Terry,

You can use the ShowRowHeaders property to disable the week number column:

        <telerik:RadDatePicker ID="dtpStartDate" runat="server"
            <Calendar ShowRowHeaders="false"></Calendar> 
        </telerik:RadDatePicker> 
 


All the best,
Konstantin Petkov
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
mac
Top achievements
Rank 1
answered on 07 Oct 2008, 06:36 PM
is there a possibility of setting this in the web.config file to reflect all date pickers? I have them literally everywhere on my application
0
Vlad
Telerik team
answered on 08 Oct 2008, 07:37 AM
Hi mac,

You can define desired settings for the control in a skin file and apply this to desired page using Theme property:

.skin:
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<telerik:RadDatePicker runat="server">
   <Calendar ShowRowHeaders="false"></Calendar>
</telerik:RadDatePicker>

<%@ Page Language="C#" Theme="Theme1" ...
...
        <telerik:RadDatePicker ID="dtpStartDate" runat="server">
        </telerik:RadDatePicker>
...


Best wishes,
Vlad
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Calendar
Asked by
terrysmith
Top achievements
Rank 1
Answers by
Konstantin Petkov
Telerik team
mac
Top achievements
Rank 1
Vlad
Telerik team
Share this question
or