Wednesday, April 22, 2009 9:08 PM
Wednesday, April 22, 2009 9:23 PM
Stick to your first plan as it should work!
You do not need to refresh the Silverlight object in the page.
If you need more information on this tell me.
Wednesday, April 22, 2009 9:27 PM
slCtl.Source = slCtl.Source;
Wednesday, April 22, 2009 9:41 PM
tiplist(3) ="tip4" Dim randomclass As New Random Dim i As Integer = randomclass.Next(0, tiplist.Count - 1) Me.txtTip.Text = tiplist(i) End Sub
varslCtl = null;
slCtl = sender.get_element();}
postit is registered in the control's app.xaml.vb as follows:Private Sub Application_Startup(ByVal o As Object, ByVal e As StartupEventArgs) Handles Me.Startup Me.RootVisual = New Page() Dim smt As Page = New Page()
System.Windows.Browser.HtmlPage.RegisterScriptableObject("postit", smt) End Sub
Can you see anything wrong with this (apart from hardcoding etc.)?
Tuesday, April 28, 2009 3:08 AM
Friday, August 21, 2009 12:49 PM
Here is a walkthrough I wrote. It should work well for you and is simple and easy to follow.
Monday, August 09, 2010 1:41 AM