Lost display watermark when set IsEnable=False property

4 posts, 0 answers
  1. Triet Nguyen Cong
    Triet Nguyen Cong avatar
    78 posts
    Member since:
    Mar 2010

    Posted 12 Oct 2010 Link to this post

    Hi Telerik team,
    1. when i setting Height for RadDatePicker(or RadTimePicker) is 22px, my RadDatePicker is lost display watermark.
    Pls see attach file to more detail <raddatevsradtime.png>!
    2. And i found within resource, i saw RadWatermarkTextBox, i found some problem <Pls help me forward it for RadWatermarkTextBox's manager>
    Text and Watermark not equal, not same position.
    See attach file with watermark.png
    =>
    That Bugs?
  2. Triet Nguyen Cong
    Triet Nguyen Cong avatar
    78 posts
    Member since:
    Mar 2010

    Posted 12 Oct 2010 Link to this post

    So, for question no.2:
    I think, this bug raise within DataTemplate as below:
    <DataTemplate x:Key="WatermarkTemplate_Disabled">
       <Grid Margin="1" VerticalAlignment="Center">
          <TextBlock Margin="2" Opacity="0.5" Text="{Binding}"/>
      </Grid>
    </DataTemplate>
    Have too much Margin of watermark used in this DataTemplate!!!! (both Grid and TextBlock).
    And for question no.1 in RadDatePicker's style (<telerik:RadWatermarkTextBox x:Name="PART_DateTimeInput"...), I found:
    Margin="{TemplateBinding BorderThickness}"
    Padding="{TemplateBinding Padding}"
    Have  too much Margin and Pading :( . Please fix that issue :(
  3. DevCraft banner
  4. Pana
    Admin
    Pana avatar
    748 posts

    Posted 14 Oct 2010 Link to this post

    Hi Triet Nguyen Cong,

    I easily reproduced that issue. I will try to fix it for the upcoming release. If it is really urgent I may send you the updated DateTimePicker style in a xaml ResourceDictionary.

    All the best,
    Panayot
    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
  5. Triet Nguyen Cong
    Triet Nguyen Cong avatar
    78 posts
    Member since:
    Mar 2010

    Posted 14 Oct 2010 Link to this post

    Currently, i don't need that!
    Because i customized it!
    Thanks
Back to Top