Skip to content

Commit 63ec297

Browse files
committed
Fix compilation
1 parent afea130 commit 63ec297

File tree

3 files changed

+5
-13
lines changed

3 files changed

+5
-13
lines changed

OpenSilver.Samples.TelerikUI/OpenSilver.Samples.TelerikUI/Samples/Controls/RadContextMenu/RadContextMenu_Demo.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
1717
<StackPanel Orientation="Vertical">
1818
<TextBlock Text="Right click the box below."/>
19-
<Border x:Name="ContextMenuBorder" Background="LightGray" Width="50" Height="20" Loaded="ContextMenuBorder_Loaded">
19+
<Border x:Name="ContextMenuBorder" Background="LightGray" Width="50" Height="20">
2020
<controls:RadContextMenu.ContextMenu>
2121
<controls:RadContextMenu>
2222
<controls:RadMenuItem Header="Red" Click="RadMenuItemRed_Click"/>

OpenSilver.Samples.TelerikUI/OpenSilver.Samples.TelerikUI/Samples/Controls/RadContextMenu/RadContextMenu_Demo.xaml.cs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,5 @@ private void RadMenuItemReset_Click(object sender, RadRoutedEventArgs e)
5858
{
5959
ContextMenuBorder.Background = new SolidColorBrush(Colors.LightGray);
6060
}
61-
62-
private void ContextMenuBorder_Loaded(object sender, RoutedEventArgs e)
63-
{
64-
// We get rid of the default contextmenu that appears when right clicking on the element so it won't overlap on the RadContextMenu:
65-
object div = CSHTML5.Interop.GetDiv(ContextMenuBorder);
66-
CSHTML5.Internal.INTERNAL_HtmlDomManager.SetDomElementAttribute(div, "oncontextmenu", "return false");
67-
}
68-
6961
}
7062
}

OpenSilver.Samples.TelerikUI/OpenSilver.Samples.TelerikUI/Samples/Welcome.xaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<TextBlock x:Name="IntroductionTextBlock" Text="This app demonstrates the current state of the 'Telerik UI for Silverlight' source code recompiled with OpenSilver, so that it can run on modern browsers without plugins, where Silverlight is not supported. It also provides sample code to show how to use those Telerik UI controls in an OpenSilver application." FontSize="16" Foreground="#FF333333" TextWrapping="Wrap" Margin="22,10,0,0"/>
1414
<TextBlock FontSize="16" Foreground="#FF333333" TextWrapping="Wrap" Margin="22,10,0,0">
1515
<Span xml:space="preserve"><Run>The source code of this demo application is available at: </Run>
16-
<Hyperlink FontSize="16" Foreground="Blue" NavigateUri="https://github.com/OpenSilver/OpenSilver.Samples.TelerikUI" Cursor="Hand">
16+
<Hyperlink FontSize="16" Foreground="Blue" NavigateUri="https://github.com/OpenSilver/OpenSilver.Samples.TelerikUI">
1717
https://github.com/OpenSilver/OpenSilver.Samples.TelerikUI
1818
</Hyperlink>
1919
</Span>
@@ -22,23 +22,23 @@
2222

2323
<TextBlock FontSize="16" Foreground="#FF333333" TextWrapping="Wrap" Margin="22,10,0,0">
2424
<Span xml:space="preserve"><Run>1. A valid license from Telerik for 'Telerik UI for Silverlight', which is available at: </Run>
25-
<Hyperlink FontSize="16" Foreground="Blue" NavigateUri="https://www.telerik.com/purchase/individual/silverlight.aspx" Cursor="Hand">
25+
<Hyperlink FontSize="16" Foreground="Blue" NavigateUri="https://www.telerik.com/purchase/individual/silverlight.aspx">
2626
https://www.telerik.com/purchase/individual/silverlight.aspx
2727
</Hyperlink>
2828
</Span>
2929
</TextBlock>
3030

3131
<TextBlock FontSize="16" Foreground="#FF333333" TextWrapping="Wrap" Margin="22,10,0,0">
3232
<Span xml:space="preserve"><Run>2. A license for the OpenSilver Compatibility Pack for Telerik UI. For more information or to request a Trial, please refer to the documentation at: </Run>
33-
<Hyperlink FontSize="16" Foreground="Blue" NavigateUri="https://doc.opensilver.net/documentation/3rd-party-libraries/telerik.html" Cursor="Hand">
33+
<Hyperlink FontSize="16" Foreground="Blue" NavigateUri="https://doc.opensilver.net/documentation/3rd-party-libraries/telerik.html">
3434
https://doc.opensilver.net/documentation/3rd-party-libraries/telerik.html
3535
</Hyperlink>
3636
</Span>
3737
</TextBlock>
3838

3939
<TextBlock FontSize="12" FontStyle="Italic" Foreground="#FF888888" TextWrapping="Wrap" Margin="22,14,0,0">
4040
<Span xml:space="preserve"><Run>Legal notice: Telerik UI is the property of Progress, not Userware. Userware is not affiliated with Telerik. Userware will provide the tools that allow you to compile the source code of Telerik UI using OpenSilver. Userware does not provide the source code itself. The source code of Telerik UI is provided to you by Progress as part of your license for Telerik UI for Silverlight. For support and further information, please contact Userware at: </Run>
41-
<Hyperlink FontSize="12" Foreground="Blue" NavigateUri="https://www.opensilver.net/contact.aspx" Cursor="Hand">
41+
<Hyperlink FontSize="12" Foreground="Blue" NavigateUri="https://www.opensilver.net/contact.aspx">
4242
https://www.opensilver.net/contact.aspx
4343
</Hyperlink>
4444
</Span>

0 commit comments

Comments
 (0)