Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 110049
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T02:09:57+00:00 2026-05-11T02:09:57+00:00

I’ve been working in Silverlight recently and I’ve slowly been discovering that as simple

  • 0

I’ve been working in Silverlight recently and I’ve slowly been discovering that as simple as it can be to develop, there are one or two annoying gotchas that lurk in the shadows.

Considering how difficult some of these have been to track down for me, I thought it might be useful to list them here on SO for others to benefit from. I’m sure the ones I have encountered are nothing compared to the experience of others and I’d like to try and avoid any other nasty or time consuming surprises.

So, what have you got?

Update
I’ve updated this to cover Silverlight in general. Therefore, please provide a version or list versions to which the gotcha relates when responding. For all those without a version, please assume Silverlight 2.0 as this was the case in the original question.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T02:09:58+00:00Added an answer on May 11, 2026 at 2:09 am

    The two that I’ve experienced are:

    Cross Domain Policy Files

    For Silverlight to work with Web Services that are hosted on a different domain, the server needs a cross domain policy file. This can take two formats:

    • clientaccesspolicy.xml
    • crossdomain.xml

    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).

    ComboBox dropdown resizing

    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.

    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.

    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.

    Update

    Here is a really nice solution to the combo problem, thanks to markti.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a jquery bug and I've been looking for hours now, I can't
I am doing a simple coin flipping experiment for class that involves flipping a
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I know there's a lot of other questions out there that deal with this
I'm working with an upstream system that sometimes sends me text destined for HTML/XML
I'm making a simple page using Google Maps API 3. My first. One marker
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have just tried to save a simple *.rtf file with some websites and
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.