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

Templating makes control not render

1 Answer 33 Views
DatePicker
This is a migrated thread and some comments may be shown as answers.
Virgilio Esteves
Top achievements
Rank 1
Virgilio Esteves asked on 25 Feb 2010, 10:24 AM

When I edit the control's template at Generics.xaml with the following code, the controls doesn't render.

 
<Popup x:Name="PART_Popup" AllowsTransparency="True" IsOpen="{Binding IsDropDownOpen, RelativeSource={RelativeSource TemplatedParent}}" Placement="Bottom" StaysOpen="False">     
    <Grid x:Name="DropDownRoot">     
        <telerikInput:RadCalendar x:Name="CalendarElement" />    
    </Grid>    
</Popup> 

If I remove the Name it renders, but doesn't have interaction with the other components of the control such as the PickerTextBox.

If I edit the control's template at user control resources all works fine.

Regards and thank you in advance.

1 Answer, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 02 Mar 2010, 10:20 AM
Hello Virgilio,

Thank you for contacting us.

Attached you will find a sample project in which a custom theme is applied to the DatePicker control. The theme works as expected. Please go through the code and if you still experience difficulties send us a sample running project, which we can test here locally of modify this one to fit your scenario. In that way we will be able to find and resolve the issue in the best manner.

Looking forward to your reply.

Greetings,
Konstantina
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.
Tags
DatePicker
Asked by
Virgilio Esteves
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Share this question
or