Category Archives: controls

my app requires owner identity and I can’t tell why

I submitted the app to marketplace, and the required capabilities assigned to it by the system are that it requires “owner identity”.  I am not doing anything to access user data or identity. is this a problem with certification process? … Continue reading

Share
Posted in ads, controls, wp7 | 2 Comments

launching internet explorer from hyperlinkbutton

My Silverlight application has a HyperlinkButton. If I set the NavigateUri to an external Uri such as  “http://www.bing.com” .. I will get a RootFrame_NavigationFailed with a NavigationFailedEventArgs that says “Navigation is only supported to relative URIs that are fragments or … Continue reading

Share
Posted in controls, wp7 | Tagged | 1 Comment

wide panoramaitem

I want a wide PanoramaItem, similar to the ones in the pictures hub. How can I do this? I set a width but it did not make a difference. Set the Orientation of the panorama item to Horizontal.

Share
Posted in controls, wp7 | Tagged | Leave a comment

resetting selected item in a panorama

With a ListBox, I can set the SelectedIndex to -1 to allow me to cause SelectionChanged to fire again when I tap the same item.  How do I achieve this with LongListSelector? Set SelectedItem to null.

Share
Posted in controls, wp7 | Tagged | Leave a comment

changing button background

I have an application where I periodically need to change the background image for a button. This appears to work fine except if the button has been clicked at some point in the past. In this case when I change … Continue reading

Share
Posted in controls, wp7 | Tagged , | Leave a comment

AutoCompleteBox in landscape orientation

I am trying to use the AutoCompleteBox in landscape orientation and it is not working. Nothing shows up. This is a known issue with AutoCompleteBox. By design (to match the way OS behaves) landscape is not supported; not a tested … Continue reading

Share
Posted in controls, wp7 | Tagged , | Leave a comment

scrollviewer in WebBrowser control

How can I enable (or show) the ScrollViewer in WebBrowser control? You can’t. The WebBrowserControl does not have a ScrollViewer in its parts.. You also can’t put it inside a scrollViewer because WebBrowserControl handles all touch within its space.  That … Continue reading

Share
Posted in controls, wp7 | Tagged | Leave a comment

Visibility on pivots

I have set the Visibility of a PivotItem to Collapsed, but the Pivotitem is still visible. Here is what I tried, but did not hide it:pSettings.Visibility = Visibility.Collapsed; PivotItem does not support the visibility property. You must remove it from … Continue reading

Share
Posted in controls, wp7 | Tagged | Leave a comment

TextBlock longer than 2048 pixels

I have a very long TextBlock, and I need to scroll through it. Putting in a ScrollViewer did not work. it gets clipped.  Is this a known issue? Yes, in current release you can’t display surfaces greater than 2048 pixels … Continue reading

Share
Posted in controls, wp7 | Tagged , | Leave a comment

Selecting text in the AutoCompleteTextBox

Is there a way to programmatically select all (or part) of the text in an AutocompleteTextBox? Yes, you can just grab the inner TextBox from the AutoCompleteBox template and then use the regular selection methods on that. Here is a … Continue reading

Share
Posted in controls, wp7 | Tagged | Leave a comment