How to set the Name of a control inside an expander.

2 posts, 0 answers
  1. Jaya Vanjani
    Jaya Vanjani avatar
    1 posts
    Member since:
    Dec 2009

    Posted 04 Dec 2009 Link to this post

    Dear Teleric team,

    I am using Animating Expander control on my page whose name is Doctor Dashboard.
    Inside Animating Expander, I have put a stack panel which further contains another reference control Patient Banner.

    I want to name PatientBanner so that i may access this control in my Doctor Dashboard page.

    I am unable to name it, coz animation expander cannot accept any name, niether can the stack panel in which the reference control for Patient Banner can accept any name.

    My XAML code is as follows.

    Pls tell me any naming option or any other alternative.




    ReferenceControls:AnimatingExpanderControl InitialExpandedLength="180" Margin="0" Style="{StaticResource AnimatingExpanderControlStyle}" ExpandDirection="Up" Title="Patient Info" Background="White" Grid.Row="0" >




    <!--<Viewbox Stretch="Uniform">-->




    <StackPanel Orientation="Vertical" >




    <ReferenceControls:PatientBanner x:Name="test"/>














  2. Valentin.Stoychev
    Valentin.Stoychev avatar
    2198 posts

    Posted 04 Dec 2009 Link to this post

    Hello Jaya Vanjani,

    What is this control "ReferenceControls:AnimatingExpanderControl"? It is not part from Telerik controls. If you are using RadExpander you should not have problems naming the banner.

    Sincerely yours,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top