DataTimeWaterMarkContent doesn't work

3 posts, 1 answers
  1. Attila
    Attila avatar
    3 posts
    Member since:
    Jan 2012

    Posted 12 Nov 2012 Link to this post

    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. Answer
    Masha
    Admin
    Masha avatar
    355 posts

    Posted 15 Nov 2012 Link to this post

    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.

  3. UI for WPF is Visual Studio 2017 Ready
  4. Attila
    Attila avatar
    3 posts
    Member since:
    Jan 2012

    Posted 15 Nov 2012 Link to this post

    Thank you very much. it's work.

    All the best,
    Attila
Back to Top