Silverlight Not Rendering On Navigation

Posted by Azmath on Stack Overflow See other posts from Stack Overflow or by Azmath
Published on 2010-06-14T06:19:32Z Indexed on 2010/06/14 6:22 UTC
Read the original article Hit count: 195

Filed under:
|
|
|
|

I'm trying to create a site that requires login. Its entirely designed in silverlight. So my first page, home.xaml loads in mysite.aspx and it basically has a login page. AFter login, the user is redirected to another page user.aspx. in that page, i've embedded another silverlight control called nav.xaml.

so now when user.aspx loads it is supposed to load a silverlight control. i've programmed app.xaml.vb such that it loads nav.xaml in the rootlayout when the page requesting is user.aspx. but for some reason its not working. my app.xaml.vb code:

 Private Sub Application_Startup(ByVal o As Object, ByVal e As StartupEventArgs) Handles Me.Startup
        If e.InitParams.ContainsKey("ReqPage") Then
            If e.InitParams("ReqPage") = "userpage" Then
                Me.RootVisual = New Nav()
            End If
        Else
            Me.RootVisual = New Home()
        End If
    End Sub

in IE, half of the nav.xaml is rendered. but in firefox nothing is rendered. so wats going on exactly? pls help!

© Stack Overflow or respective owner

Related posts about Silverlight

Related posts about xaml