This question is locked. New answers and comments are not allowed.
Hi,
I have a radcoverflow control within a usercontrol. At the base of each item (depending on the presence of a uri property) within the radcoverflow I am attempting to place a "Read More..." hyperlink. This works fine until an item with the "Read More..." link rotates out of view and then back into view where the "Read More..." link disappears?
HyperlinkButton:
I have a radcoverflow control within a usercontrol. At the base of each item (depending on the presence of a uri property) within the radcoverflow I am attempting to place a "Read More..." hyperlink. This works fine until an item with the "Read More..." link rotates out of view and then back into view where the "Read More..." link disappears?
HyperlinkButton:
<HyperlinkButton x:Name="OpenMorePopup" Content="Read More.." FontSize="10" VerticalAlignment="Bottom" Margin="2,0,10,-17" Foreground="White" Click="OpenMorePopup_Click" Loaded="OpenMorePopup_Loaded" Tag="{Binding uri}" />
Events:
private void OpenMorePopup_Click(object sender, RoutedEventArgs e)
{
string pageURL = ((HyperlinkButton)sender).Tag.ToString();
HtmlPage.Window.Invoke("DialogOpenNewsPopup", 800, 600, "Firm News", pageURL);
}
private void OpenMorePopup_Loaded(object sender, RoutedEventArgs e)
{
HyperlinkButton button = (HyperlinkButton)sender;
//Hide the link if the Tag proprty is empty. This property
//should only be populated for News items
if (button.Tag == null)
{
button.Visibility = System.Windows.Visibility.Collapsed;
}
}
The logic says, if the "uri" property exists within the tag, make the button visible, if not collapse the button. As I mentioned, this seems to work until the item is rotated out of view and then back into view, at which the button disappears?
Thanks.