watermark content

3 posts, 1 answers
  1. David Ocasio
    David Ocasio avatar
    147 posts
    Member since:
    Nov 2009

    Posted 18 Aug 2010 Link to this post

    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. Answer
    Dani
    Admin
    Dani avatar
    848 posts

    Posted 19 Aug 2010 Link to this post

    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
  3. DevCraft banner
  4. David Ocasio
    David Ocasio avatar
    147 posts
    Member since:
    Nov 2009

    Posted 19 Aug 2010 Link to this post

    ahh too simple

    thanks
    dani
Back to Top