<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.silverlight.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Silverlight Controls and Silverlight Toolkit</title><link>http://forums.silverlight.net/forums/35.aspx</link><description>Discussions around using and developing Silverlight controls and the Silverlight Toolkit</description><dc:language>en</dc:language><generator>CommunityServer 2007 (Build: 20416.853)</generator><item><title>Re: Threading issue with combobox causes White Screen of Death, any suggestions?</title><link>http://forums.silverlight.net/forums/thread/148813.aspx</link><pubDate>Tue, 16 Dec 2008 21:12:16 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:148813</guid><dc:creator>samcov</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/148813.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=35&amp;PostID=148813</wfw:commentRss><description>&lt;p&gt;There is an alternative solution in this thread.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://silverlight.net/forums/t/41425.aspx"&gt;http://silverlight.net/forums/t/41425.aspx&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Re: Threading issue with combobox causes White Screen of Death, any suggestions?</title><link>http://forums.silverlight.net/forums/thread/147676.aspx</link><pubDate>Mon, 15 Dec 2008 07:41:57 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:147676</guid><dc:creator>samcov</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/147676.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=35&amp;PostID=147676</wfw:commentRss><description>&lt;p&gt;I found a solution, but it isn&amp;#39;t as nice as I would like it to be.&lt;/p&gt;
&lt;p&gt;I destroy the combobox(remove it from your tree), and recreate another one when I need to place new values into it.&lt;/p&gt;
&lt;p&gt;Like I said, it required a lot of code changes, but it works perfectly.&amp;nbsp; I placed a ContentControl where I needed the combo box, and named it of course, then it was easy to get a reference to the combobox as shown below.&lt;/p&gt;&lt;font size="2"&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;ComboBox&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&amp;nbsp;dropdown = (&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;ComboBox&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;)ContentControlName.Content;&lt;/p&gt;&lt;/font&gt;</description></item><item><title>Re: Threading issue with combobox causes White Screen of Death, any suggestions?</title><link>http://forums.silverlight.net/forums/thread/147658.aspx</link><pubDate>Mon, 15 Dec 2008 06:49:56 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:147658</guid><dc:creator>samcov</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/147658.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=35&amp;PostID=147658</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/silverlight/images/icon-quote.gif"&gt; &lt;strong&gt;wildert:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt; 
&lt;p&gt;I have a combobox and on its Loaded event I go make a web service call to populate its dropdownitems and set the selected item to the first item in the Items collection, This obviously happens async, On the callback I actually populate the items and set the selected value. The combobox is inside a tab control with two tabs. When I swich between tabs quickly to activate the combobox&amp;#39;s load event, and then quickly mouse click the combobox dropdown, I get a white screen of death. Firefox tells me its an ArgumentOutOfRangeException. What i&amp;#39;m pretty sure is happening is that during the combobox&amp;#39;s dropdown-ing code, my async callback happens and&lt;strong&gt; the Items Collection gets cleared and re-created.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Any ideas around this? Anyone else having threadng related white screens of death?&lt;/p&gt;
&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;Yes, I&amp;#39;m having the same problem.&amp;nbsp; It appears that when you clear the items collection, the combobox goes crazy, and won&amp;#39;t let you add new items.&lt;/p&gt;
&lt;p&gt;I wonder if binding it to a List would get better behavior, or even removing all but one item... who knows.&lt;/p&gt;
&lt;p&gt;This is surely a bug.&lt;/p&gt;</description></item><item><title>Re: Threading issue with combobox causes White Screen of Death, any suggestions?</title><link>http://forums.silverlight.net/forums/thread/146493.aspx</link><pubDate>Fri, 12 Dec 2008 07:48:24 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:146493</guid><dc:creator>TomBeeby</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/146493.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=35&amp;PostID=146493</wfw:commentRss><description>&lt;p&gt;i&amp;#39;m not sure if this is the precise issue that you are facing, but i&amp;#39;ve certainly hit run-time exceptions trying to set the selected index of a combo box that is not visible... &lt;/p&gt;&lt;p&gt;i find it annoying that by default, the combobox selectedindex is -1, with nothing selected (as opposed to HTML drop downs which function in a similar way to radio buttons). so, even if there are many items in the combobox, until the user selects one, the &amp;#39;selected item text area&amp;#39; is blank... because of this, populating a combobox always seem to be a two-step affair: 1. bind a collection 2. set selected index to 0 - and step 2. needs to be executed very, very carefully...&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Threading issue with combobox causes White Screen of Death, any suggestions?</title><link>http://forums.silverlight.net/forums/thread/146456.aspx</link><pubDate>Fri, 12 Dec 2008 06:06:01 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:146456</guid><dc:creator>wildert</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/146456.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=35&amp;PostID=146456</wfw:commentRss><description>&lt;p&gt;I have a combobox and on its Loaded event I go make a web service call to populate its dropdownitems and set the selected item to the first item in the Items collection, This obviously happens async, On the callback I actually populate the items and set the selected value. The combobox is inside a tab control with two tabs. When I swich between tabs quickly to activate the combobox&amp;#39;s load event, and then quickly mouse click the combobox dropdown, I get a white screen of death. Firefox tells me its an ArgumentOutOfRangeException. What i&amp;#39;m pretty sure is happening is that during the combobox&amp;#39;s dropdown-ing code, my async callback happens and the Items Collection gets cleared and re-created.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Any ideas around this? Anyone else having threadng related white screens of death?&lt;/p&gt;</description></item></channel></rss>