My browser is inside a popup and when we rotate the windows device into the开发者_Python百科 landscape mode, it doesn't auto rotate the browser as well. However, the normal browser (not in the pop up) works well. Does anybody know how to fix this issue automatically or programmatically (that means we catch the rotation event and then rotate the browser ourselves)
It turns out that my problem is because of third party toolkit, silverlight control toolkit. When I removed the transition page animation code out, things just work
The WebBrowser control will handle this automagicaly.
Just check you have SupportedOrientations="PortraitOrLandscape" and that you haven't got your emulator in a state where it won't handle orientation changes (ie SIP hidden/hardware keyboard emulation) - restart your emu if not sure.
精彩评论