<?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>Report a Silverlight Bug</title><link>http://forums.silverlight.net/forums/28.aspx</link><description>Found a bug in Silverlight? Use this forum to describe the bug and the code or steps to reproduce it.</description><dc:language>en</dc:language><generator>CommunityServer 2007 (Build: 20416.853)</generator><item><title>Re: Re: Re: Re: Layout cycle detected.  Layout could not complete.</title><link>http://forums.silverlight.net/forums/thread/215550.aspx</link><pubDate>Mon, 04 May 2009 17:28:07 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:215550</guid><dc:creator>jemiller</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/215550.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=28&amp;PostID=215550</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m curious to know what the issue was with authentication and WCF? Is it with forms based authentication or something? I&amp;#39;m using basic HTTP authentication, but, I had to write a custom HttpModule to handle it on the backend. This is one thing that I&amp;#39;ve always disliked about ASP.NET authentication. There should be a way to do basic HTTP authentication in an easy way. There are definitely a lot of rough edges that I hope get smoothed out in Silverlight 3. The fact that 2 couldn&amp;#39;t handle web service faults was pretty lame. It made it near impossible to give meaningful errors in some cases. That&amp;#39;s supposed to be fixed in 3.&lt;/p&gt;</description></item><item><title>Re: Re: Re: Re: Layout cycle detected.  Layout could not complete.</title><link>http://forums.silverlight.net/forums/thread/215498.aspx</link><pubDate>Mon, 04 May 2009 15:53:28 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:215498</guid><dc:creator>ThatRickGuy</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/215498.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=28&amp;PostID=215498</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Yup, it&amp;#39;s going to be an awesome platform, once they get caught up on features, stabilize, and improve support. I&amp;#39;ve got a pair of apps in production. An entry kiosk for on site after hours employee directory, and a IT only project/time tracking app that we were using to really test Silverlight&amp;#39;s ability to handle LOB applications. And while the UI functionality blew standard web development away, the over all dev time suffered due to the limitations and known defects of SL2.&lt;/p&gt;&lt;p&gt;&amp;nbsp;I&amp;#39;ll still be trying to work it into applications (a coworker just mentioned that it would be nice if we had a website with the new cafeteria&amp;#39;s menu and daily specials on it). But I can&amp;#39;t imagine pushing to get our CSRs&amp;#39; apps out of VB6/ASP to SL until SL3 comes out, and even then, only if we can be promised better support than we are getting with SL2.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;quot;Use the next beta version&amp;quot; is not acceptable support for LOB applications.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;-Rick &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Re: Re: Re: Layout cycle detected.  Layout could not complete.</title><link>http://forums.silverlight.net/forums/thread/215460.aspx</link><pubDate>Mon, 04 May 2009 15:05:27 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:215460</guid><dc:creator>snelldl</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/215460.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=28&amp;PostID=215460</wfw:commentRss><description>&lt;p&gt;I agree with you. But despite those drawbacks, we&amp;#39;ve managed to roll out some cool apps that exist on our intranet. &lt;/p&gt;
&lt;p&gt;The wcf authentication problems go away in version 3, but of course we don&amp;#39;t know when that will be ready for prime time.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Re: Re: Re: Layout cycle detected.  Layout could not complete.</title><link>http://forums.silverlight.net/forums/thread/215455.aspx</link><pubDate>Mon, 04 May 2009 14:32:35 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:215455</guid><dc:creator>ThatRickGuy</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/215455.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=28&amp;PostID=215455</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I hear ya there. I was working with web services and I wanted to pass up exceptions in the .error property. After a fair bit of digging I found a way to do it through using WCF. So I blow half a week getting a framework in place to get exception handling built into my WCF web calls from Silverlight. Works great on my dev machine. Push it into the initial testing environment, and none of my web services are working. Easy enough to figure out, looked like I was no longer using an authenticated connection. No problem, switch WCF off of basic HTTP binding...&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Oh wait, we only get basic HTTP binding in SL2.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;When I can get authenticated web service calls and built in exception handling for WCF calls, I&amp;#39;ll be happy.&lt;/p&gt;&lt;p&gt;But honestly, I can&amp;#39;t present SL to my management as a realistic solution to anything right now since we are getting near zero support for known defects. At current rate, maybe in another year or two when things stablize and MS feels like putting some effort into support, Silverlight will be ready for the business world. But until then, its use IMO is limited to kiosks, web advertising, and silly flash games.&lt;/p&gt;&lt;p&gt;-Rick &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Re: Re: Re: Layout cycle detected.  Layout could not complete.</title><link>http://forums.silverlight.net/forums/thread/215348.aspx</link><pubDate>Mon, 04 May 2009 10:33:09 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:215348</guid><dc:creator>Brauliod</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/215348.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=28&amp;PostID=215348</wfw:commentRss><description>&lt;p&gt;I just smashed my face against this problem today... and realized... 6 months ago detected and not fixed :-(, no service pack at all for the SL 2 bugs (except for the DataGrid).&lt;/p&gt;
&lt;p&gt;&amp;nbsp;The message here then is... we won&amp;#39;t fix bugs on SL2, ... use SL3 Beta 1 that has no going live license and right now introduces new bugs, or just start hacking this limitations or go using nasty&amp;nbsp;workarounds, quite frustrating for all us that decide to be brave and start working on SL2 RTW.&lt;/p&gt;</description></item><item><title>Re: Re: Re: Layout cycle detected.  Layout could not complete.</title><link>http://forums.silverlight.net/forums/thread/202284.aspx</link><pubDate>Mon, 06 Apr 2009 21:24:10 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:202284</guid><dc:creator>snelldl</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/202284.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=28&amp;PostID=202284</wfw:commentRss><description>&lt;p&gt;Thanks&lt;/p&gt;</description></item><item><title>Re: Re: Re: Layout cycle detected.  Layout could not complete.</title><link>http://forums.silverlight.net/forums/thread/202278.aspx</link><pubDate>Mon, 06 Apr 2009 21:10:49 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:202278</guid><dc:creator>Dave Relyea</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/202278.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=28&amp;PostID=202278</wfw:commentRss><description>&lt;p&gt;The best I can give you is &amp;quot;second half of the year.&amp;quot;&lt;/p&gt;</description></item><item><title>Re: Re: Re: Layout cycle detected.  Layout could not complete.</title><link>http://forums.silverlight.net/forums/thread/202250.aspx</link><pubDate>Mon, 06 Apr 2009 20:29:01 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:202250</guid><dc:creator>snelldl</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/202250.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=28&amp;PostID=202250</wfw:commentRss><description>&lt;p&gt;OK, I understand that. I guess I figured, like with most software projects the majority of us write, we have projected timelines, even for beta testing.&lt;/p&gt;
&lt;p&gt;So I guess I&amp;#39;m looking for your understanding of what the SL group is projecting, eg, 2 months in beta 1, 2 months in beta2, then rtm, so 4 months of beta testing. And if everything goes super de dooper, you may compress the beta 2 time period.&lt;/p&gt;
&lt;p&gt;Many of us have new projects that we are doing in SL2, but after seeing the new features in SL3, we would like to switch all our development over to that environment. We could probably convince management that we should add a couple of months to our completion time (NOT&amp;nbsp;development time) if we knew that the anticipated SL3 rtm was the end of July for example.&lt;/p&gt;</description></item><item><title>Re: Re: Re: Layout cycle detected.  Layout could not complete.</title><link>http://forums.silverlight.net/forums/thread/202240.aspx</link><pubDate>Mon, 06 Apr 2009 20:09:12 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:202240</guid><dc:creator>Dave Relyea</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/202240.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=28&amp;PostID=202240</wfw:commentRss><description>&lt;p&gt;Well, the beta came out for MIX.&lt;/p&gt;</description></item><item><title>Re: Re: Re: Layout cycle detected.  Layout could not complete.</title><link>http://forums.silverlight.net/forums/thread/202236.aspx</link><pubDate>Mon, 06 Apr 2009 19:54:44 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:202236</guid><dc:creator>snelldl</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/202236.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=28&amp;PostID=202236</wfw:commentRss><description>&lt;p&gt;Exactly. I&amp;#39;ve been hoping to hear something from someone on the SL team about what the timeline is for SL3 rtm, but haven&amp;#39;t seen anybody brave enough (or stupid enough) to venture a guess.&lt;/p&gt;</description></item><item><title>Re: Re: Layout cycle detected.  Layout could not complete.</title><link>http://forums.silverlight.net/forums/thread/202233.aspx</link><pubDate>Mon, 06 Apr 2009 19:51:28 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:202233</guid><dc:creator>ThatRickGuy</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/202233.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=28&amp;PostID=202233</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;snelldl:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;/p&gt;&lt;p&gt;Have you tried it with sl3 beta?&lt;/p&gt;&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Nope, but as soon as SL3 comes out of beta, I&amp;#39;ll be pushing for more buy in from management. It&amp;#39;s hard enough to get the brass to get on board with a new technology, let alone trying to justify a new &lt;i&gt;beta&lt;/i&gt; technology.Glad to hear that the issue got fixed though. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;-Rick &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Re: Layout cycle detected.  Layout could not complete.</title><link>http://forums.silverlight.net/forums/thread/202231.aspx</link><pubDate>Mon, 06 Apr 2009 19:47:55 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:202231</guid><dc:creator>ThatRickGuy</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/202231.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=28&amp;PostID=202231</wfw:commentRss><description>&lt;p&gt;So here&amp;#39;s what I came up with as a working solution:&lt;/p&gt;&lt;p&gt;XAML&lt;/p&gt;&lt;pre class="coloredcode"&gt;&amp;lt;&lt;span class="tag"&gt;UserControl&lt;/span&gt;&lt;span class="attr"&gt; x:Class=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;CustomTextBox.TextBox1H&amp;quot;&lt;/span&gt;&lt;br /&gt;&lt;span class="attr"&gt;    xmlns=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;http://schemas.microsoft.com/winfx/2006/xaml/presentation&amp;quot;&lt;/span&gt; &lt;br /&gt;&lt;span class="attr"&gt;    xmlns:x=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;http://schemas.microsoft.com/winfx/2006/xaml&amp;quot;&lt;/span&gt; &lt;br /&gt;&lt;span class="attr"&gt;    Width=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;100&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; Height=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;22&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; xmlns:d=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;http://schemas.microsoft.com/expression/blend/2008&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; xmlns:mc=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;http://schemas.openxmlformats.org/markup-compatibility/2006&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; mc:Ignorable=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;d&amp;quot;&lt;/span&gt;&amp;gt;&lt;br /&gt;	&amp;lt;&lt;span class="tag"&gt;UserControl.Resources&lt;/span&gt;&amp;gt;&lt;br /&gt;		&amp;lt;&lt;span class="tag"&gt;LinearGradientBrush&lt;/span&gt;&lt;span class="attr"&gt; x:Key=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;TextBoxBrush&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; EndPoint=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;0.5,1&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; StartPoint=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;0.5,0&amp;quot;&lt;/span&gt;&amp;gt;&lt;br /&gt;			&amp;lt;&lt;span class="tag"&gt;GradientStop&lt;/span&gt;&lt;span class="attr"&gt; Color=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;#FFA3AEB9&amp;quot;&lt;/span&gt;/&amp;gt;&lt;br /&gt;			&amp;lt;&lt;span class="tag"&gt;GradientStop&lt;/span&gt;&lt;span class="attr"&gt; Color=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;#FF8399A9&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; Offset=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;0.375&amp;quot;&lt;/span&gt;/&amp;gt;&lt;br /&gt;			&amp;lt;&lt;span class="tag"&gt;GradientStop&lt;/span&gt;&lt;span class="attr"&gt; Color=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;#FF718597&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; Offset=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;0.375&amp;quot;&lt;/span&gt;/&amp;gt;&lt;br /&gt;			&amp;lt;&lt;span class="tag"&gt;GradientStop&lt;/span&gt;&lt;span class="attr"&gt; Color=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;#FF617584&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; Offset=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;1&amp;quot;&lt;/span&gt;/&amp;gt;&lt;br /&gt;		&amp;lt;/&lt;span class="tag"&gt;LinearGradientBrush&lt;/span&gt;&amp;gt;&lt;br /&gt;	&amp;lt;/&lt;span class="tag"&gt;UserControl.Resources&lt;/span&gt;&amp;gt;&lt;br /&gt;    &amp;lt;&lt;span class="tag"&gt;Grid&lt;/span&gt;&lt;span class="attr"&gt; x:Name=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;LayoutRoot&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; Background=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;White&amp;quot;&lt;/span&gt;&amp;gt;&lt;br /&gt;&lt;br /&gt;    	&amp;lt;&lt;span class="tag"&gt;TextBox&lt;/span&gt;&lt;span class="attr"&gt; Margin=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;0,0,0,0&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; BorderBrush=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;{StaticResource TextBoxBrush}&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; Text=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;TextBox&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; TextWrapping=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;Wrap&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; Visibility=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;Collapsed&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; x:Name=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;txtText&amp;quot;&lt;/span&gt;/&amp;gt;&lt;br /&gt;    	&amp;lt;&lt;span class="tag"&gt;Rectangle&lt;/span&gt;&lt;span class="attr"&gt; Height=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;Auto&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; Margin=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;0,0,0,0&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; VerticalAlignment=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;Stretch&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; Fill=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;#FFFFFFFF&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; Stroke=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;{StaticResource TextBoxBrush}&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; RadiusX=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;1&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; RadiusY=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;1&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; x:Name=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;recBG&amp;quot;&lt;/span&gt;/&amp;gt;&lt;br /&gt;    	&amp;lt;&lt;span class="tag"&gt;TextBlock&lt;/span&gt;&lt;span class="attr"&gt; Height=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;Auto&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; Margin=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;4,4,0,0&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; VerticalAlignment=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;Stretch&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; Text=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;TextBox&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; TextWrapping=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;Wrap&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; x:Name=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;lblText&amp;quot;&lt;/span&gt;/&amp;gt;&lt;br /&gt;    	&amp;lt;&lt;span class="tag"&gt;Rectangle&lt;/span&gt;&lt;span class="attr"&gt; Height=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;Auto&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; Margin=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;1,1,1,1&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; VerticalAlignment=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;Stretch&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; Stroke=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;#FF99C1E2&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; RadiusX=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;0&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; RadiusY=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;0&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; x:Name=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;recMouseOver&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; Visibility=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;Collapsed&amp;quot;&lt;/span&gt;/&amp;gt;&lt;br /&gt;&lt;br /&gt;    &amp;lt;/&lt;span class="tag"&gt;Grid&lt;/span&gt;&amp;gt;&lt;br /&gt;&amp;lt;/&lt;span class="tag"&gt;UserControl&lt;/span&gt;&amp;gt;&lt;/pre&gt;&amp;nbsp;&lt;pre class="coloredcode"&gt;&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Code behind:&lt;/p&gt;&lt;pre class="coloredcode"&gt;&lt;pre class="coloredcode"&gt;&amp;nbsp;&lt;pre class="coloredcode"&gt;Partial &lt;span class="kwd"&gt;Public Class&lt;/span&gt; TextBox1H
    &lt;span class="kwd"&gt;Inherits&lt;/span&gt; UserControl

    &lt;span class="kwd"&gt;Public Event&lt;/span&gt; TextChanged(&lt;span class="kwd"&gt;ByVal&lt;/span&gt; sender &lt;span class="kwd"&gt;As Object&lt;/span&gt;, &lt;span class="kwd"&gt;ByVal&lt;/span&gt; e &lt;span class="kwd"&gt;As&lt;/span&gt; System.Windows.Controls.TextChangedEventArgs)
    &lt;span class="kwd"&gt;Public Shadows Event&lt;/span&gt; KeyDown(&lt;span class="kwd"&gt;ByVal&lt;/span&gt; sender &lt;span class="kwd"&gt;As Object&lt;/span&gt;, &lt;span class="kwd"&gt;ByVal&lt;/span&gt; e &lt;span class="kwd"&gt;As&lt;/span&gt; System.Windows.Input.KeyEventArgs)

    &lt;span class="kwd"&gt;Public Sub New&lt;/span&gt;()
        InitializeComponent()
        &lt;span class="kwd"&gt;Me&lt;/span&gt;.IsTabStop = &lt;span class="kwd"&gt;True
        Me&lt;/span&gt;.Cursor = Cursors.IBeam
    &lt;span class="kwd"&gt;End Sub

    Private Shadows ReadOnly Property&lt;/span&gt; isEnabled() &lt;span class="kwd"&gt;As Boolean
        Get
            Return Me&lt;/span&gt;.txtText.Visibility = Windows.Visibility.Visible
        &lt;span class="kwd"&gt;End Get
    End Property

    Private Sub&lt;/span&gt; enable()
        &lt;span class="kwd"&gt;Me&lt;/span&gt;.recMouseOver.Visibility = Windows.Visibility.Collapsed
        &lt;span class="kwd"&gt;Me&lt;/span&gt;.txtText.Text = &lt;span class="kwd"&gt;Me&lt;/span&gt;.lblText.Text
        &lt;span class="kwd"&gt;Me&lt;/span&gt;.txtText.Visibility = Windows.Visibility.Visible
        &lt;span class="kwd"&gt;Me&lt;/span&gt;.recBG.Visibility = Windows.Visibility.Collapsed
        &lt;span class="kwd"&gt;Me&lt;/span&gt;.lblText.Visibility = Windows.Visibility.Collapsed
    &lt;span class="kwd"&gt;End Sub

    Private Sub&lt;/span&gt; disable()
        &lt;span class="kwd"&gt;Me&lt;/span&gt;.lblText.Text = &lt;span class="kwd"&gt;Me&lt;/span&gt;.txtText.Text
        &lt;span class="kwd"&gt;Me&lt;/span&gt;.txtText.Visibility = Windows.Visibility.Collapsed
        &lt;span class="kwd"&gt;Me&lt;/span&gt;.recBG.Visibility = Windows.Visibility.Visible
        &lt;span class="kwd"&gt;Me&lt;/span&gt;.lblText.Visibility = Windows.Visibility.Visible
    &lt;span class="kwd"&gt;End Sub

#Region &lt;span class="st"&gt;&amp;quot;Textbox event handling and bubble ups&amp;quot;&lt;/span&gt;&lt;/span&gt;
    &lt;span class="kwd"&gt;Private Sub&lt;/span&gt; txtText_GotFocus(&lt;span class="kwd"&gt;ByVal&lt;/span&gt; sender &lt;span class="kwd"&gt;As Object&lt;/span&gt;, &lt;span class="kwd"&gt;ByVal&lt;/span&gt; e &lt;span class="kwd"&gt;As&lt;/span&gt; System.Windows.RoutedEventArgs) &lt;span class="kwd"&gt;Handles&lt;/span&gt; txtText.GotFocus

    &lt;span class="kwd"&gt;End Sub

    Private Sub&lt;/span&gt; txtText_KeyDown(&lt;span class="kwd"&gt;ByVal&lt;/span&gt; sender &lt;span class="kwd"&gt;As Object&lt;/span&gt;, &lt;span class="kwd"&gt;ByVal&lt;/span&gt; e &lt;span class="kwd"&gt;As&lt;/span&gt; System.Windows.Input.KeyEventArgs) &lt;span class="kwd"&gt;Handles&lt;/span&gt; txtText.KeyDown
        &lt;span class="kwd"&gt;RaiseEvent&lt;/span&gt; KeyDown(&lt;span class="kwd"&gt;Me&lt;/span&gt;, e)
    &lt;span class="kwd"&gt;End Sub

    Private Sub&lt;/span&gt; txtText_LostFocus(&lt;span class="kwd"&gt;ByVal&lt;/span&gt; sender &lt;span class="kwd"&gt;As Object&lt;/span&gt;, &lt;span class="kwd"&gt;ByVal&lt;/span&gt; e &lt;span class="kwd"&gt;As&lt;/span&gt; System.Windows.RoutedEventArgs) &lt;span class="kwd"&gt;Handles&lt;/span&gt; txtText.LostFocus
        disable()
    &lt;span class="kwd"&gt;End Sub

    Private Sub&lt;/span&gt; txtText_TextChanged(&lt;span class="kwd"&gt;ByVal&lt;/span&gt; sender &lt;span class="kwd"&gt;As Object&lt;/span&gt;, &lt;span class="kwd"&gt;ByVal&lt;/span&gt; e &lt;span class="kwd"&gt;As&lt;/span&gt; System.Windows.Controls.TextChangedEventArgs) &lt;span class="kwd"&gt;Handles&lt;/span&gt; txtText.TextChanged
        &lt;span class="kwd"&gt;RaiseEvent&lt;/span&gt; TextChanged(&lt;span class="kwd"&gt;Me&lt;/span&gt;, e)
    &lt;span class="kwd"&gt;End Sub
#End Region

    Private Sub&lt;/span&gt; TextBox1h_GotFocus(&lt;span class="kwd"&gt;ByVal&lt;/span&gt; sender &lt;span class="kwd"&gt;As Object&lt;/span&gt;, &lt;span class="kwd"&gt;ByVal&lt;/span&gt; e &lt;span class="kwd"&gt;As&lt;/span&gt; System.Windows.RoutedEventArgs) &lt;span class="kwd"&gt;Handles Me&lt;/span&gt;.GotFocus
        &lt;span class="kwd"&gt;If Not&lt;/span&gt; isEnabled &lt;span class="kwd"&gt;Then
            Me&lt;/span&gt;.txtText.SelectAll()
            enable()
            &lt;span class="kwd"&gt;Me&lt;/span&gt;.txtText.Focus()
        &lt;span class="kwd"&gt;End If
    End Sub

    Private Sub&lt;/span&gt; TextBox1h_MouseEnter(&lt;span class="kwd"&gt;ByVal&lt;/span&gt; sender &lt;span class="kwd"&gt;As Object&lt;/span&gt;, &lt;span class="kwd"&gt;ByVal&lt;/span&gt; e &lt;span class="kwd"&gt;As&lt;/span&gt; System.Windows.Input.MouseEventArgs) &lt;span class="kwd"&gt;Handles Me&lt;/span&gt;.MouseEnter
        &lt;span class="kwd"&gt;Me&lt;/span&gt;.recMouseOver.Visibility = Windows.Visibility.Visible
    &lt;span class="kwd"&gt;End Sub

    Private Sub&lt;/span&gt; TextBox1h_MouseLeave(&lt;span class="kwd"&gt;ByVal&lt;/span&gt; sender &lt;span class="kwd"&gt;As Object&lt;/span&gt;, &lt;span class="kwd"&gt;ByVal&lt;/span&gt; e &lt;span class="kwd"&gt;As&lt;/span&gt; System.Windows.Input.MouseEventArgs) &lt;span class="kwd"&gt;Handles Me&lt;/span&gt;.MouseLeave
        &lt;span class="kwd"&gt;Me&lt;/span&gt;.recMouseOver.Visibility = Windows.Visibility.Collapsed
    &lt;span class="kwd"&gt;End Sub

    Private Sub&lt;/span&gt; TextBox1h_MouseLeftButtonDown(&lt;span class="kwd"&gt;ByVal&lt;/span&gt; sender &lt;span class="kwd"&gt;As Object&lt;/span&gt;, &lt;span class="kwd"&gt;ByVal&lt;/span&gt; e &lt;span class="kwd"&gt;As&lt;/span&gt; System.Windows.Input.MouseButtonEventArgs) &lt;span class="kwd"&gt;Handles Me&lt;/span&gt;.MouseLeftButtonUp
        &lt;span class="kwd"&gt;If Not&lt;/span&gt; isEnabled &lt;span class="kwd"&gt;Then
            Me&lt;/span&gt;.txtText.SelectAll()
            enable()
            &lt;span class="kwd"&gt;Me&lt;/span&gt;.txtText.Focus()
        &lt;span class="kwd"&gt;End If
    End Sub

#Region &lt;span class="st"&gt;&amp;quot;Public Properties&amp;quot;&lt;/span&gt;&lt;/span&gt;
    &lt;span class="kwd"&gt;Public Property&lt;/span&gt; Text() &lt;span class="kwd"&gt;As String
        Get
            Return Me&lt;/span&gt;.txtText.Text
        &lt;span class="kwd"&gt;End Get
        Set&lt;/span&gt;(&lt;span class="kwd"&gt;ByVal&lt;/span&gt; value &lt;span class="kwd"&gt;As String&lt;/span&gt;)
            &lt;span class="kwd"&gt;Me&lt;/span&gt;.txtText.Text = value
            &lt;span class="kwd"&gt;Me&lt;/span&gt;.lblText.Text = value
        &lt;span class="kwd"&gt;End Set
    End Property

    Public Property&lt;/span&gt; Fill() &lt;span class="kwd"&gt;As&lt;/span&gt; Brush
        &lt;span class="kwd"&gt;Get
            Return Me&lt;/span&gt;.recBG.Fill
        &lt;span class="kwd"&gt;End Get
        Set&lt;/span&gt;(&lt;span class="kwd"&gt;ByVal&lt;/span&gt; value &lt;span class="kwd"&gt;As&lt;/span&gt; Brush)
            &lt;span class="kwd"&gt;Me&lt;/span&gt;.recBG.Fill = value
            &lt;span class="kwd"&gt;Me&lt;/span&gt;.txtText.Background = value
        &lt;span class="kwd"&gt;End Set
    End Property

    Public Property&lt;/span&gt; Stroke() &lt;span class="kwd"&gt;As&lt;/span&gt; Brush
        &lt;span class="kwd"&gt;Get
            Return Me&lt;/span&gt;.recBG.Stroke
        &lt;span class="kwd"&gt;End Get
        Set&lt;/span&gt;(&lt;span class="kwd"&gt;ByVal&lt;/span&gt; value &lt;span class="kwd"&gt;As&lt;/span&gt; Brush)
            &lt;span class="kwd"&gt;Me&lt;/span&gt;.recBG.Stroke = value
            &lt;span class="kwd"&gt;Me&lt;/span&gt;.txtText.BorderBrush = value
        &lt;span class="kwd"&gt;End Set
    End Property

    Public Property&lt;/span&gt; TextWrapping() &lt;span class="kwd"&gt;As&lt;/span&gt; TextWrapping
        &lt;span class="kwd"&gt;Get
            Return Me&lt;/span&gt;.txtText.TextWrapping
        &lt;span class="kwd"&gt;End Get
        Set&lt;/span&gt;(&lt;span class="kwd"&gt;ByVal&lt;/span&gt; value &lt;span class="kwd"&gt;As&lt;/span&gt; TextWrapping)
            &lt;span class="kwd"&gt;Me&lt;/span&gt;.txtText.TextWrapping = value
        &lt;span class="kwd"&gt;End Set
    End Property

    Public Property&lt;/span&gt; SelectionStart() &lt;span class="kwd"&gt;As Integer
        Get
            Return Me&lt;/span&gt;.txtText.SelectionStart
        &lt;span class="kwd"&gt;End Get
        Set&lt;/span&gt;(&lt;span class="kwd"&gt;ByVal&lt;/span&gt; value &lt;span class="kwd"&gt;As Integer&lt;/span&gt;)
            &lt;span class="kwd"&gt;Me&lt;/span&gt;.txtText.SelectionStart = value
        &lt;span class="kwd"&gt;End Set
    End Property

    Public Property&lt;/span&gt; IsEditable() &lt;span class="kwd"&gt;As Boolean
        Get
            Return Not Me&lt;/span&gt;.txtText.IsReadOnly
        &lt;span class="kwd"&gt;End Get
        Set&lt;/span&gt;(&lt;span class="kwd"&gt;ByVal&lt;/span&gt; value &lt;span class="kwd"&gt;As Boolean&lt;/span&gt;)
            &lt;span class="kwd"&gt;Me&lt;/span&gt;.txtText.IsReadOnly = &lt;span class="kwd"&gt;Not&lt;/span&gt; value
        &lt;span class="kwd"&gt;End Set
    End Property
#End Region


End Class&lt;/span&gt;&lt;/pre&gt;&amp;nbsp;&lt;br /&gt;&lt;/pre&gt;&amp;nbsp;&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;p&gt;As long as the textbox is collapsed, it won&amp;#39;t be counted in the &amp;quot;~250&amp;quot;. So this control will display a label that looks just like a text box and leave the text box collapsed until the user clicks on the control or tabs to it.The only functional difference that I know of is that if you click and drag on a regular text box, you will begin highlighting text. With this control, clicking will correctly set the carrot position, but if the user drags the mouse, the will not get the standard highlighting. They will have to click a second time.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;-Rick &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Re: Layout cycle detected.  Layout could not complete.</title><link>http://forums.silverlight.net/forums/thread/202164.aspx</link><pubDate>Mon, 06 Apr 2009 18:15:46 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:202164</guid><dc:creator>Dave Relyea</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/202164.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=28&amp;PostID=202164</wfw:commentRss><description>&lt;p&gt;This&amp;nbsp;is fixed in the SL3 beta. Your workaround (switching between TextBlock and TextBox) is the way to go for now.&lt;/p&gt;</description></item><item><title>Re: Re: Layout cycle detected.  Layout could not complete.</title><link>http://forums.silverlight.net/forums/thread/202163.aspx</link><pubDate>Mon, 06 Apr 2009 18:15:11 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:202163</guid><dc:creator>snelldl</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/202163.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=28&amp;PostID=202163</wfw:commentRss><description>&lt;p&gt;Have you tried it with sl3 beta?&lt;/p&gt;</description></item><item><title>Re: Re: Layout cycle detected.  Layout could not complete.</title><link>http://forums.silverlight.net/forums/thread/202160.aspx</link><pubDate>Mon, 06 Apr 2009 18:08:46 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:202160</guid><dc:creator>ThatRickGuy</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/202160.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=28&amp;PostID=202160</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;5 months later and there is still an absurdly low limit on textboxes.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I have a situation similar to the above issues. A complex user control with multiple text boxes that gets repeated on the screen depending on the underlying data.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Not only that, but I&amp;#39;m no where close to the 250 mark. The issue occurs every time I hit 98 text boxes (although it will work if at 90). &lt;/p&gt;&lt;p&gt;At this point, I&amp;#39;m looking at spoofing the text box in a custom control. Have a rectangle and text block that mimics the textbox, and collapse the text box until the control catches focus or gets hit with a mouse down.&lt;/p&gt;&lt;p&gt;It seems ludicrous that at this point in time in SL&amp;#39;s development, when I&amp;#39;m pushing hard as a developer to get my coworkers and management to adopt it that I have to make caviots of the like that haven&amp;#39;t been seen since we were Delphi developers. I can see my self pitching this at the director of IT, &amp;quot;Yeah, it&amp;#39;s a great new product, we can develop faster, we can have more robust user interfaces, and oh yeah, we can never have more than 100 text boxes on any given page.&amp;quot;&lt;/p&gt;&lt;p&gt;I&amp;#39;m sure that pitch would get round filed in short order. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;-Rick &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>