This question is locked. New answers and comments are not allowed.
Hi,
how can I access a webbrowser element out of a list of multiple expandercontrol items within RadDataBoundListBox
Here is my XAML Code. I want to NavigateToString() once the user expanded the control and some more stuff. However, I am having difficulties accessing the webbrowser element. Following is the XAML Code which I am using to implement the webbrowser in the RadExpanderControl.
Thanks for help!
how can I access a webbrowser element out of a list of multiple expandercontrol items within RadDataBoundListBox
Here is my XAML Code. I want to NavigateToString() once the user expanded the control and some more stuff. However, I am having difficulties accessing the webbrowser element. Following is the XAML Code which I am using to implement the webbrowser in the RadExpanderControl.
Thanks for help!
<telerikPrimitives:RadDataBoundListBox ItemsSource="{Binding ContentItems}" Margin="12,3" x:Name="DataBoundListBox"><telerikPrimitives:RadDataBoundListBox.ItemTemplate><DataTemplate><telerikPrimitives:RadExpanderControl x:Name="ExpanderCtl" BorderThickness="4, 0, 0, 0" BorderBrush="{StaticResource PhoneAccentBrush}" Foreground="{StaticResource PhoneForegroundBrush}" ExpandedStateChanged = "ContentExpander_StateChanged"><telerikPrimitives:RadExpanderControl.ContentTemplate><DataTemplate><StackPanel Margin="8, 4 ,4 ,4" Orientation="Horizontal"><Image Source="Images/Frame.png" Width="64" Height="64" Margin="0,4,12,4" /><TextBlock FontSize="{StaticResource PhoneFontSizeExtraLarge}" FontFamily="{StaticResource PhoneFontFamilyLight}" Text="{Binding Title}" VerticalAlignment="Center" /></StackPanel></DataTemplate></telerikPrimitives:RadExpanderControl.ContentTemplate><telerikPrimitives:RadExpanderControl.ExpandableContentTemplate><DataTemplate><phone:WebBrowser x:Name="WebView" Source="{Binding Uri1}" IsScriptEnabled="True" Height="200" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" /></DataTemplate></telerikPrimitives:RadExpanderControl.ExpandableContentTemplate></telerikPrimitives:RadExpanderControl></DataTemplate></telerikPrimitives:RadDataBoundListBox.ItemTemplate></telerikPrimitives:RadDataBoundListBox>