Crash after resize RRS feed

  • Question

  • Hi there,

       I'm new here...

    I have tried to resize silverlight application... but my approach seem doesn't work with google chrome 6 and firefox 3, it works fine only with Internet Explorer 8, Opera 10 and Safari 5. This is my sample: 

    #region Constructor
            /// <summary>
            /// Constructor
            /// </summary>
            public MainPage()
    			// Required to initialize variables
                this.MinHeight =
                this.MinWidth = 
            #region Event handler
            /// <summary>
            /// Start logo animation
            /// </summary>
            /// <param name="sender"></param>
            /// <param name="e"></param>
            private void UserControl_Loaded(object sender, RoutedEventArgs e)
                // register event handler 
                App.Current.Host.Content.Resized +=
                    new EventHandler(contentResized);
                // start logo animation
            // resize silverlight application at runtime
            void contentResized(object sender, EventArgs e)
                this.Width =
                this.Height =

    What si wrong??Why this doesn't work with Google Chrome and Firefox (message error: "Unknow Hard Error"... another issue is that google chrome is very slow "with" animation... with other browsers, all animations are fast)?? Please help me ;-)

    Thx for any help


    Saturday, September 11, 2010 4:03 PM


  • OK, 

       after some (some bhau bhau many...) tests I have found bug... HtmlHost control doesn't work well with google chrome and firefox ooooooooooopsete.


    Sunday, September 12, 2010 8:39 PM