<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>ASP.NET 4 "Quick Hit" - Predictable Client IDs</title><link>http://www.asp.net</link><pubDate>Fri, 12 Feb 2010 23:03:06 GMT</pubDate><generator>umbraco</generator><description>Comments for ASP.NET 4 "Quick Hit" - Predictable Client IDs</description><language>en</language><atom:link href="http://www.asp.net/rss/comments/33675" rel="self" type="application/rss+xml" /><item><title>Comment Posted by germy</title><link>http://www.asp.net/web-forms/videos/net-4/core/aspnet-4-quick-hit-predictable-client-ids</link><pubDate>Thu, 12 Nov 2009 19:19:00 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000008548</guid><description><![CDATA[ <p>unable to view - wait icon is spinning but never gets to &#39;buffering&#39; stage</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/germy.jpg?forceidenticon=false&amp;dt=635048813400000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by anup1252000</title><link>http://www.asp.net/web-forms/videos/net-4/core/aspnet-4-quick-hit-predictable-client-ids</link><pubDate>Fri, 13 Nov 2009 01:08:23 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000008549</guid><description><![CDATA[ <p>i am also facing the same problem..</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/anup1252000.jpg?forceidenticon=false&amp;dt=635048813400000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by bfeng2010</title><link>http://www.asp.net/web-forms/videos/net-4/core/aspnet-4-quick-hit-predictable-client-ids</link><pubDate>Sat, 14 Nov 2009 15:42:13 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000008550</guid><description><![CDATA[ <p>test</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/bfeng2010.jpg?forceidenticon=false&amp;dt=635048813400000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by zarzar</title><link>http://www.asp.net/web-forms/videos/net-4/core/aspnet-4-quick-hit-predictable-client-ids</link><pubDate>Wed, 18 Nov 2009 14:00:18 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000008551</guid><description><![CDATA[ <p>SL doesn&#39;t run, WMV is OK ;)</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/zarzar.jpg?forceidenticon=false&amp;dt=635048813400000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by tmorton</title><link>http://www.asp.net/web-forms/videos/net-4/core/aspnet-4-quick-hit-predictable-client-ids</link><pubDate>Wed, 18 Nov 2009 19:25:54 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000008552</guid><description><![CDATA[ <p>I can repro this problem.  We&#39;ll look into it and work to correct this issue.  In the interim, I suggest downloading the video and watching it via another viewer, such as Windows Media Player.</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/tmorton.jpg?forceidenticon=false&amp;dt=635048813400000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by atomiton</title><link>http://www.asp.net/web-forms/videos/net-4/core/aspnet-4-quick-hit-predictable-client-ids</link><pubDate>Thu, 31 Dec 2009 18:41:55 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000008553</guid><description><![CDATA[ <p>If you use Static, can you also specify a ClientIDRowSuffix? If you have a list of Products on your page, it would be nice to have &quot;ProductCode&quot; as the StaticID, and ProductCode_1, ProductCode_2 etc. as your ids. </p><p></p><p>This would give the ultimate control and leave it up to the developer to ensure the IDs work on the page.</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/atomiton.jpg?forceidenticon=false&amp;dt=635048813400000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by atomiton</title><link>http://www.asp.net/web-forms/videos/net-4/core/aspnet-4-quick-hit-predictable-client-ids</link><pubDate>Thu, 31 Dec 2009 19:16:41 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000008554</guid><description><![CDATA[ <p>Okay, after a little googlin&#39;, Rick Strahl has an excellent write up on this here: <a rel="nofollow" href="http://www.west-wind.com/WebLog/posts/54760.aspx" target="_blank">www.west</a></p><p></p><p>Basically, he plans on setting the PAGE&#39;s ClientIDMode to &quot;Static&quot; For controls like the ListView, setting the ListView to Static, but the internal ITEMS to Predictable, will get something like this:</p><p></p><p>Product ID: &lt; span id=&quot;Product_32&quot; &gt;32&lt; /span&gt;</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/atomiton.jpg?forceidenticon=false&amp;dt=635048813400000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by atomiton</title><link>http://www.asp.net/web-forms/videos/net-4/core/aspnet-4-quick-hit-predictable-client-ids</link><pubDate>Thu, 31 Dec 2009 19:18:28 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000008555</guid><description><![CDATA[ <p>Rick Strahl has a great write up here: </p><p><a rel="nofollow" href="http://www.west-wind.com/WebLog/posts/54760.aspx" target="_blank">www.west</a></p><p></p><p>You can have more control over the IDs if you set the page to &quot;Static&quot; the DataContainer to Static and each ServerControl inside the ItemContainer to Predictable. You have to be a little bit careful about duplicate IDs but you have MUCH cleaner URLs.</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/atomiton.jpg?forceidenticon=false&amp;dt=635048813400000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by tmorton</title><link>http://www.asp.net/web-forms/videos/net-4/core/aspnet-4-quick-hit-predictable-client-ids</link><pubDate>Fri, 12 Feb 2010 23:03:06 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000008556</guid><description><![CDATA[ <p>This video should now display as expected!</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/tmorton.jpg?forceidenticon=false&amp;dt=635048813400000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item></channel></rss>