Powered by MSDN

US - English
NEW! Silverlight 5 is available Learn More

Page not visible in IE RSS

3 replies

Last post Aug 19, 2008 09:07 PM by PeterMorris

(0)
  • PeterMorris

    PeterMorris

    Member

    2 Points

    18 Posts

    Page not visible in IE

    Aug 14, 2008 04:31 PM | LINK

    1. New SilverLight app
    2. Change Project Type to "Web Application Project"
    3. Click OK
    4. In Page.xaml change the grid background from white to yellow
    5. Run the app

    Expected: Yellow grid
    Actual: Nothing visible at all

    View it in FireFox and you see it.  Am I doing something wrong or is this a bug?

  • Allen Chen – MSFT

    Allen Chen –...

    Star

    14215 Points

    1854 Posts

    Microsoft

    Re: Page not visible in IE

    Aug 18, 2008 07:27 AM | LINK

    Hi

    Could you post a demo project that can reproduce this problem?

    Sincerely,
    Allen Chen
    Microsoft Online Community Support

    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
  • PeterMorris

    PeterMorris

    Member

    2 Points

    18 Posts

    Re: Page not visible in IE

    Aug 19, 2008 05:57 PM | LINK

    I have better steps

    1. Create new SilverLight app
    2. Select "Web application" in the wizard combobox
    3. Click OK
    4. Add a TextBox to the grid with Text="1"
    5. Run the app
    6. Note you see a text box with "1" in IE
    7. Stop the app
    8. Change the XAML so that Text="2"
    9. Run the app again

    Exp: TextBox with Text="2"
    Act: TextBox with Text="1"

    I closed VS, deleted all bin and obj folders, reopened VS, re-ran.  I still see Text="1"

    If you cannot reproduce this then try this

     

    Pete

  • PeterMorris

    PeterMorris

    Member

    2 Points

    18 Posts

    Re: Page not visible in IE

    Aug 19, 2008 09:07 PM | LINK

    More info...

    This seems to be an IE7 caching problem.  If you keep changing the text at designtime, running, and refreshing IE I see the old value, but in FireFox I see the new value!  In my case the old value persists after an IE restart and VS restart and the only way to get the new value is to delete all IE cache.

    Pete