xaml - Silverlight Not Rendering On Navigation -


I am trying to create a site that requires login, it was completely built in silver light So my first page, home.xaml is loaded in mysite.aspx and it is basically a login page. After the login, the user is redirected to another page user.aspx. In that page, I have embedded another Silverlight control named nav.xaml.

Thus now when user.aspx is loaded, it should load the Silverlight control. I am app Programmed XMLVB as if it loads nav.xaml in the routout, when the page request is user.aspx. But for some reason this is not working for my app.xaml.vb code:

  Private Sub Application_Startup (ByVal object, as byVal e StartupEventArgs) Me.Startup handles if E.InitParams.ContainsKey ("ReqPage") then if iiitparam ("rake page") = "user page" then in the menu.RootViews = new NAV () end or if i Root Viojial = New Home () End If End In  

In IE, half Nav.xaml is sung but nothing has been given in Firefox. So is Vatsa going on? Pls help!

Resolved property of height of control is set to 0 when its set is set to "100% "I do not know that when it tries to automatically scale, then something bad can be done, by manually specifying the height of silver light control in PX and found around it.

  & lt; Div id = "silverlightControlHost" style = "height: 700px" & gt; & Lt; Object Data = "Data: App / X-Silverlight-2," Type = "App / X-Relilite-2" width = "100%" height = "100%" & gt;  

Notice the height attribute in the development tag, now it both works in IE and Firefox.


Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -