I've been working in Silverlight recently and I'm slowly discovering that as simple as possible It can be easy, there,
Seeing how difficult it is to keep track of me, I thought it could be useful to list them here so others get the benefit Could. . I am sure that the people I have encountered are nothing compared to the experience of others and I want to try any other bad or time consuming wonder.
So, what have you got?
Updates
I have updated it to cover Silverlight in general. Therefore, please provide a version or list version, in which the answer is given about when. For all versions, please accept Silverlight 2.0 as this was the case in the original question.
I have two experiences:
cross domain policy files
To work with web services hosted on a different domain, a server is required for Silverlight, it can take two formats:
- clientaccesspolicy.xml
- Cross Domain. Xml
I could not get the pre to work properly but later work (Flash uses another, I believe that the first is typical for ASP, although I can call it ASP Could not work under .NET 2.0 server, so it can be 3.5-specific).
Resize the combo box dropdown
Silverlight 2.0 combobox control saves its dropdown area only once, when it is shown for the first time, its initial size in the list of items Is the basis. This means that 2 items will give you 2 items a high dropdown, even if the list exceeds 200. The only way around it appears to change the combo with new controls every time the item changes.
Note that setting the height property or MaxHight property to a value that leads to the items displayed in the initial display of the dropdown, due to the absence of a vertical scrollbar and therefore , Absence of access to items in your list Its the only solution I have found is that the use of the minimum height property is a decent high for at least all uses and it should be bigger if the item is above the minimum height.
In addition, when you resize the browser window, whether you use Minhite or not, and then either drop the combo list or resize it when you are visible, This can reduce drop-down size irreversibly.
Update, Thank you.
Comments
Post a Comment