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

Lost display watermark when set IsEnable=False property

3 Answers 75 Views
DatePicker
This is a migrated thread and some comments may be shown as answers.
Triet Nguyen Cong
Top achievements
Rank 2
Triet Nguyen Cong asked on 12 Oct 2010, 05:13 AM
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?

3 Answers, 1 is accepted

Sort by
0
Triet Nguyen Cong
Top achievements
Rank 2
answered on 12 Oct 2010, 08:52 AM
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 :(
0
Pana
Telerik team
answered on 14 Oct 2010, 01:11 PM
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
0
Triet Nguyen Cong
Top achievements
Rank 2
answered on 15 Oct 2010, 04:14 AM
Currently, i don't need that!
Because i customized it!
Thanks
Tags
DatePicker
Asked by
Triet Nguyen Cong
Top achievements
Rank 2
Answers by
Triet Nguyen Cong
Top achievements
Rank 2
Pana
Telerik team
Share this question
or