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

watermark content

2 Answers 84 Views
DateTimePicker
This is a migrated thread and some comments may be shown as answers.
David Ocasio
Top achievements
Rank 2
Iron
Veteran
Iron
David Ocasio asked on 19 Aug 2010, 03:39 AM
I assumed that the watermark content property worked like the button content property

<dataFormToolkit:DataField>
    <telerikInput:RadDateTimePicker DisplayDate="{Binding StartDate,Mode=TwoWay}" SelectedDate="{Binding StartDate,Mode=TwoWay}" >
        <telerikInput:RadDateTimePicker.DateTimeWatermarkContent>
            <TextBox Text="Enter Start Date" />
        </telerikInput:RadDateTimePicker.DateTimeWatermarkContent>
    </telerikInput:RadDateTimePicker>
</dataFormToolkit:DataField>

but when i implement the above the watermark displayed the bound class property name
(see start date in snapshot below)

what am i doing wrong
any help would be appreciated

thanks
dco

2 Answers, 1 is accepted

Sort by
0
Accepted
Dani
Telerik team
answered on 19 Aug 2010, 12:04 PM
Hi David Ocasio,

Thank you for your question.

I suggest you use attribute syntax rather than property element syntax:

<telerik:RadDateTimePicker DateTimeWatermarkContent="My custom Watermark" />

I believe this is the guidance that you needed. Please, let me know if you need further assistance.


All the best,
Dani
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
0
David Ocasio
Top achievements
Rank 2
Iron
Veteran
Iron
answered on 19 Aug 2010, 01:16 PM
ahh too simple

thanks
dani
Tags
DateTimePicker
Asked by
David Ocasio
Top achievements
Rank 2
Iron
Veteran
Iron
Answers by
Dani
Telerik team
David Ocasio
Top achievements
Rank 2
Iron
Veteran
Iron
Share this question
or