Skip to main content

Microsoft Silverlight

Advanced Forum Search Results

  • Web Browser Control embedded in Silverlight

    Hi all, I have a SL app that runs in the browser. As the user selects some cities from a combobox in the SL app I want to show a Google Map in a little window on the Silverlight form that reflects what they've picked from the combobox. The Google Map has to show inside the Silverlight App, not on the web page that's hosting the ...
  • Re: Combobox and Scrollbars

    Thanks meykih, That's great, it gets rid of the horizontal scrollbar just fine. I appreciate your help. A shame that the width calculation is still wrong (i.e. that the vertical scrollbar is inside the calculated width) meaning that the end of the text is still cut off, but I can probably live with that for now. Regards, Mike
  • Re: [RTW] ComboBox ScaleTransform, Sizing bugs

    There is another Scale-related bug in that the mouse position on the dropdown's scrollbar is scaled incorrectly, meaning that the relative position of the mouse pointer and scrollbar moves as you drag it. Try the following: <UserControl x:Class="TestBed.Page"     ...
  • Re: Combobox and Scrollbars

    That doesn't work - it still puts in a horizontal scrollbar, even if the dropdown is massively wider than the containing text. What does work is making the ComboBox control (not ComboBoxItem) wide enough, but I need to have a fairly narrow Combobox to fit in my UI, with the dropdown wider than the box. So that's not a solution for ...
  • Combobox and Scrollbars

    Hi all, I'm confused by the logic that SL uses when adding a scrollbar to the Combobox dropdown. Try the following: <UserControl x:Class="TestBed.Page"     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"     ...
  • Re: Re: Reusing Design Elements

    Hi Amanda,   Thanks for the tip. I'd already figured out I had to do something like that, but to tell you the truth I couldn't figure out how to apply the principle to my problem. That's why I asked the question in the forum :-) Any advice or help would be appreciated.   Regards,   Mike
  • Re: Reusing Design Elements

    Sorry, looks like the question gos included as code style and the lines didn't wrap.I've repeated the question below to stop you having to scroll: Hi all,I'm new to Silverlight, and am trying to get my head around how to reuse design elements.For example, in the code below I have a Grid with two rows (the real project I'm ...
  • Reusing Design Elements

    Hi all,I'm new to Silverlight, and am trying to get my head around how to reuse design elements. For example, in the code below I have a Grid with two rows (the real project I'm working on has more than two rows, but I've simplified it for my question).Each row contains a 3-column sub-grid, each of which have different names (for ...
  • Re: Re: Refreshing ClientAccessPolicy

    Thanks for the reply. The problem is that I don't actually get any exception, just that the UploadStringCompleted method returns with no data, even after the VPN is connected. I can capture that of course, but I can't seem to figure out any way to get the WebClient to re-ask for the clientaccesspolicy. Even if I create a new ...
  • Refreshing ClientAccessPolicy

    Hi all, Is there any way to get Silverlight to ask for the clientaccespolicy.xml file again after it fails to retrieve it at the first network connection? Here's the situation I have: 1) I start up my silverlight app, hosted locally. 2) It tries to connect to a web service (using webclient) to get some data, however the web service ...
Microsoft Communities