This question is locked. New answers and comments are not allowed.
Hi
I have a RadExpander (2011 Q2) with a custom HeaderTemplate.
See below:
I am binding the first label to a String in my ViewModel, but the UI never seems to display the value via the binding. I have tried binding the property to a label somewhere else on the page (outside the template) and it works fine.
Any advise will be welcome.
Stefan
I have a RadExpander (2011 Q2) with a custom HeaderTemplate.
See below:
<telerik:RadExpander> <telerik:RadExpander.HeaderTemplate> <DataTemplate> <Grid> <Grid.ColumnDefinitions> <ColumnDefinition Width="0.5*"/> <ColumnDefinition Width="0.5*" /> </Grid.ColumnDefinitions> <dataInput:Label Content="{Binding Path=QueryDetails, Mode=TwoWay}" Grid.Column="0" FontWeight="Bold" Margin="0,0,10,0" Height="Auto" /> <dataInput:Label Content="Queries" Grid.Column="1" FontWeight="Bold" HorizontalAlignment="Right" Margin="0,0,10,0" Height="Auto" /> </Grid> </DataTemplate> </telerik:RadExpander.HeaderTemplate>
...</telerik:RadExpander>I am binding the first label to a String in my ViewModel, but the UI never seems to display the value via the binding. I have tried binding the property to a label somewhere else on the page (outside the template) and it works fine.
Any advise will be welcome.
Stefan