Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>The two that I've experienced are:</p> <h3>Cross Domain Policy Files</h3> <p>For Silverlight to work with Web Services that are hosted on a different domain, the server needs <a href="http://timheuer.com/blog/archive/2008/04/06/silverlight-cross-domain-policy-file-snippet-intellisense.aspx" rel="nofollow noreferrer">a cross domain policy file</a>. This can take two formats:</p> <ul> <li>clientaccesspolicy.xml</li> <li>crossdomain.xml</li> </ul> <p>I couldn't get the former to work properly but the latter worked (Flash uses the second one whereas I believe the first is specific to ASP though I couldn't get it working under an ASP.NET 2.0 server, so it may be 3.5-specific).</p> <h3>ComboBox dropdown resizing</h3> <p>The Silverlight 2.0 combobox control only sizes its dropdown area once, when it is first shown. It therefore bases it's size on the initial items in its list. That means 2 items will give you a 2 item high dropdown, even when the list increases to 200. The only way around this appears to be to replace the combo with a whole new control each time the items change.</p> <p>Note that setting the Height property or the MaxHeight property to a value that leads to items appearing off the list in the initial display of the dropdown will lead to an absence of a vertical scrollbar and therefore, an absence of access to items in your list. The only solution I found to that was to use the MinHeight property to at least have a decent height for all uses and just let it be bigger if the items exceed that minimum height.</p> <p>Also, when you resize the browser window, regardless of whether you use MinHeight or not, and then either dropdown the combo list or you resize while it is visible, this can irreversably decrease the size of the dropdown.</p> <i>Update</i> <p><a href="https://stackoverflow.com/questions/799403/silverlight-combobox-number-of-items-shown-refresh">Here is a really nice solution to the combo problem</a>, thanks to <a href="https://stackoverflow.com/users/79749/markti">markti</a>.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload