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

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

1 Answer 73 Views
Expander
This is a migrated thread and some comments may be shown as answers.
Jaya Vanjani
Top achievements
Rank 1
Jaya Vanjani asked on 04 Dec 2009, 12:43 PM
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.

Urgent.


<

 

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"/>

 

 

 

</StackPanel>

 

 

 

<!--</Viewbox>-->

 

 

 

</ReferenceControls:AnimatingExpanderControl>

 


1 Answer, 1 is accepted

Sort by
0
Valentin.Stoychev
Telerik team
answered on 04 Dec 2009, 02:02 PM
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,
Valentin.Stoychev
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.
Tags
Expander
Asked by
Jaya Vanjani
Top achievements
Rank 1
Answers by
Valentin.Stoychev
Telerik team
Share this question
or