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

DataTimeWaterMarkContent doesn't work

2 Answers 52 Views
DateTimePicker
This is a migrated thread and some comments may be shown as answers.
Attila
Top achievements
Rank 1
Attila asked on 12 Nov 2012, 05:30 PM
Hi,

I made a control teplate, and i put a RadDatePicker to this. After that, i set the DataTimeWaterMarkContent propterty. But its doesnt show on the UI.
If i use it direct ( Window, UserControl) it's ok.

Control Template:

<ControlTemplate x:Key="OtherWorkEditTemplate">

<Grid x:Name="LayoutRoot">

<GroupBox Header="Something" BorderBrush="{DynamicResource SolidColorBlueBrush}">

<Grid>

...

<telerik:RadDatePicker SelectedValue="{Binding OtherWork.InvoiceDate}" VerticalAlignment="Top" Margin="88.787,98.458,8,0" DateTimeWatermarkContent="Enter" telerik:StyleManager.Theme="Metro" />

</Grid>

</GroupBox>

</Grid>

</ControlTemplate>


Result: http://tinypic.com/r/qp4bb5/6
[IMG]http://i47.tinypic.com/qp4bb5.png[/IMG]

 
How can i solve this?

Thanks a lot,
Attila

 

2 Answers, 1 is accepted

Sort by
0
Accepted
Masha
Telerik team
answered on 15 Nov 2012, 10:05 AM
Hello Attila,

We will investigate the described issue. I can suggest you to replace RadDatePicker with RadDateTimePicker and set its InputMode property:

<telerik:RadDateTimePicker VerticalAlignment="Top" DateTimeWatermarkContent="Enter"  InputMode="DatePicker" />

Hope this helps.

All the best,
Maria
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Attila
Top achievements
Rank 1
answered on 15 Nov 2012, 10:44 AM
Thank you very much. it's work.

All the best,
Attila
Tags
DateTimePicker
Asked by
Attila
Top achievements
Rank 1
Answers by
Masha
Telerik team
Attila
Top achievements
Rank 1
Share this question
or