开发者

Browser Orientation inside pop up - Windows Phone 7

开发者 https://www.devze.com 2023-02-01 23:46 出处:网络
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

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消