Templating makes control not render

2 posts, 0 answers
  1. Virgilio Esteves
    Virgilio Esteves avatar
    2 posts
    Member since:
    Jan 2010

    Posted 25 Feb 2010 Link to this post

    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.

  2. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 02 Mar 2010 Link to this post

    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.
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top