<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/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 Object Binding in Visual Studio 2010 Beta2</title><link>http://blogs.msdn.com/b/vsdata/archive/2010/02/04/silverlight-object-binding-in-visual-studio-2010-beta2.aspx</link><description>Visual Studio 2010 provides drag-and-drop data binding from the Data Sources window in Silverlight applications. The Data Sources window simplifies the process of creating data-bound controls to present application data to users. This example shows how</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Silverlight Object Binding in Visual Studio 2010 Beta2</title><link>http://blogs.msdn.com/b/vsdata/archive/2010/02/04/silverlight-object-binding-in-visual-studio-2010-beta2.aspx#10007703</link><pubDate>Wed, 05 May 2010 12:08:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10007703</guid><dc:creator>WebMinder</dc:creator><description>&lt;p&gt;Thanks for the quick response Xiaoying. &amp;nbsp;I'm using C# and don't get the problem when I define a simple class such as (Person.cs):&lt;/p&gt;
&lt;p&gt;namespace SilverlightApplication {&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;public class Person {&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;public string FirstName { get; set; }&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;Dropping that produces:&lt;/p&gt;
&lt;p&gt;xmlns:my=&amp;quot;clr-namespace:SilverlightApplication&amp;quot;&lt;/p&gt;
&lt;p&gt;In the same project, when I drop the Customer class, and add &amp;quot;SilverlightApplication&amp;quot; to the namespace declaration, I get &amp;quot;'my:Customers' was not found&amp;quot;. &amp;nbsp;I created a new app and got exactly the same problem.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10007703" width="1" height="1"&gt;</description></item><item><title>re: Silverlight Object Binding in Visual Studio 2010 Beta2</title><link>http://blogs.msdn.com/b/vsdata/archive/2010/02/04/silverlight-object-binding-in-visual-studio-2010-beta2.aspx#10007661</link><pubDate>Wed, 05 May 2010 09:38:52 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10007661</guid><dc:creator>Xiaoying Guo</dc:creator><description>&lt;p&gt;Hi WebMinder,&lt;/p&gt;
&lt;p&gt;The code missing here is the namespace name of your object. For example, if your object is defined under namespace SilverlightApplication1, the code for this is xmlns:my=&amp;quot;clr-namespace:SilverlightApplication1&amp;quot;.&lt;/p&gt;
&lt;p&gt;May I know what language you are using? Does it happen all the times in different projects?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Xiaoying &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10007661" width="1" height="1"&gt;</description></item><item><title>re: Silverlight Object Binding in Visual Studio 2010 Beta2</title><link>http://blogs.msdn.com/b/vsdata/archive/2010/02/04/silverlight-object-binding-in-visual-studio-2010-beta2.aspx#10007646</link><pubDate>Wed, 05 May 2010 09:18:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10007646</guid><dc:creator>WebMinder</dc:creator><description>&lt;p&gt;I'm stuck with this example, when I drag the Customers data source to the design surface I get the following error in the XAML for this entry:&lt;/p&gt;
&lt;p&gt; xmlns:my=&amp;quot;clr-namespace:&amp;quot;&lt;/p&gt;
&lt;p&gt;&amp;quot;A namespace prefix declaration cannot be empty&amp;quot;.&lt;/p&gt;
&lt;p&gt;I have built the project, cleaned, rebuilt but still get the same error. &amp;nbsp;I'm using VS 2010 Pro RTM and SL 4. What is the code for the namespace and why would it not be automatically added?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10007646" width="1" height="1"&gt;</description></item><item><title>re: Silverlight Object Binding in Visual Studio 2010 Beta2</title><link>http://blogs.msdn.com/b/vsdata/archive/2010/02/04/silverlight-object-binding-in-visual-studio-2010-beta2.aspx#10003568</link><pubDate>Wed, 28 Apr 2010 01:24:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10003568</guid><dc:creator>Xiaoying Guo</dc:creator><description>&lt;p&gt;Hi Oscar,&lt;/p&gt;
&lt;p&gt;In the Data Source Window pattern, the CollectionViewSource is always generated for databinding. May I know what you want to achieve here?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Xiaoying Guo&lt;/p&gt;
&lt;p&gt;Program Manager, Visual Studio Business Applications Tooling&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10003568" width="1" height="1"&gt;</description></item><item><title>re: Silverlight Object Binding in Visual Studio 2010 Beta2</title><link>http://blogs.msdn.com/b/vsdata/archive/2010/02/04/silverlight-object-binding-in-visual-studio-2010-beta2.aspx#10003059</link><pubDate>Tue, 27 Apr 2010 09:42:21 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10003059</guid><dc:creator>Oscar</dc:creator><description>&lt;p&gt;If the object I want to bind is not a list (i.e. customer instead of customers), what would I have to do? If I select details in the combo, VS2010 also generates a collectionView, and customer is not a list.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10003059" width="1" height="1"&gt;</description></item></channel></rss>