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

RadDateTimePicker - hide time in code

1 Answer 520 Views
Input
This is a migrated thread and some comments may be shown as answers.
Ana
Top achievements
Rank 1
Ana asked on 06 Oct 2008, 10:56 AM
Hi! Is it possible set time in RadDateTimePicker invisible in code? I need it sometimes to be shown, and sometimes not. I could use both RadDatePicker and RadDateTimePicker and show / hide them, but I would like more to use only one (DateTime) and hide time if needed.
Thanks, Ana

1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 06 Oct 2008, 11:25 AM
Hi Ana,

Here is an example how to achieve this:
            <telerik:RadDateTimePicker  ID="RadDateTimePicker1" runat="server">
                <TimePopupButton Visible="false" />
            </telerik:RadDateTimePicker >

Sincerely yours,
Vlad
the Telerik team

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