<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Supplying an Object Reference in the ConstructorParameters Collection of an ObjectDataProvider</title>
	<atom:link href="http://drwpf.com/blog/2007/09/02/supplying-an-object-reference-in-the-constructorparameters-collection-of-an-objectdataprovider/feed/" rel="self" type="application/rss+xml" />
	<link>http://drwpf.com/blog/2007/09/02/supplying-an-object-reference-in-the-constructorparameters-collection-of-an-objectdataprovider/</link>
	<description>Drinking (and serving) the WPF Kool-Aid since 2002</description>
	<lastBuildDate>Mon, 30 Aug 2010 18:54:01 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Dr. WPF</title>
		<link>http://drwpf.com/blog/2007/09/02/supplying-an-object-reference-in-the-constructorparameters-collection-of-an-objectdataprovider/comment-page-1/#comment-46</link>
		<dc:creator>Dr. WPF</dc:creator>
		<pubDate>Tue, 02 Jun 2009 16:01:00 +0000</pubDate>
		<guid isPermaLink="false">http://drwpf.com/blog/?p=5#comment-46</guid>
		<description>Apology accepted, Paul.</description>
		<content:encoded><![CDATA[<p>Apology accepted, Paul.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul</title>
		<link>http://drwpf.com/blog/2007/09/02/supplying-an-object-reference-in-the-constructorparameters-collection-of-an-objectdataprovider/comment-page-1/#comment-45</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Tue, 02 Jun 2009 08:33:51 +0000</pubDate>
		<guid isPermaLink="false">http://drwpf.com/blog/?p=5#comment-45</guid>
		<description>I&#039;m sorry but your blog is very poorly set out and difficult to read.</description>
		<content:encoded><![CDATA[<p>I&#8217;m sorry but your blog is very poorly set out and difficult to read.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dr. WPF</title>
		<link>http://drwpf.com/blog/2007/09/02/supplying-an-object-reference-in-the-constructorparameters-collection-of-an-objectdataprovider/comment-page-1/#comment-44</link>
		<dc:creator>Dr. WPF</dc:creator>
		<pubDate>Thu, 05 Feb 2009 22:32:49 +0000</pubDate>
		<guid isPermaLink="false">http://drwpf.com/blog/?p=5#comment-44</guid>
		<description>Hi Madhukar,&lt;br&gt;&lt;br&gt;This markup extension is more about referencing other objects declared in markup. If your business object is declared in markup, then you can use this extension to reference it.&lt;br&gt;&lt;br&gt;Cheers,&lt;br&gt;-dw</description>
		<content:encoded><![CDATA[<p>Hi Madhukar,</p>
<p>This markup extension is more about referencing other objects declared in markup. If your business object is declared in markup, then you can use this extension to reference it.</p>
<p>Cheers,<br />-dw</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Madhukar</title>
		<link>http://drwpf.com/blog/2007/09/02/supplying-an-object-reference-in-the-constructorparameters-collection-of-an-objectdataprovider/comment-page-1/#comment-43</link>
		<dc:creator>Madhukar</dc:creator>
		<pubDate>Wed, 21 Jan 2009 20:22:55 +0000</pubDate>
		<guid isPermaLink="false">http://drwpf.com/blog/?p=5#comment-43</guid>
		<description>In your example you have used a user control as object instance. Can I use it with other business objects?&lt;br&gt;For example I have an object objA, which needs to be passed as a parameter to method in objectDataProvider. Further one of my text box control is bind to objA.&lt;br&gt;How can I achieve this by using the new markup?</description>
		<content:encoded><![CDATA[<p>In your example you have used a user control as object instance. Can I use it with other business objects?<br />For example I have an object objA, which needs to be passed as a parameter to method in objectDataProvider. Further one of my text box control is bind to objA.<br />How can I achieve this by using the new markup?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dr. WPF</title>
		<link>http://drwpf.com/blog/2007/09/02/supplying-an-object-reference-in-the-constructorparameters-collection-of-an-objectdataprovider/comment-page-1/#comment-42</link>
		<dc:creator>Dr. WPF</dc:creator>
		<pubDate>Tue, 18 Dec 2007 01:25:24 +0000</pubDate>
		<guid isPermaLink="false">http://drwpf.com/blog/?p=5#comment-42</guid>
		<description>Hi Ykey,&lt;br&gt;&lt;br&gt;The ValidationRule base class is not a dependency object and it is not a member of the visual tree, so you cannot create a &quot;binding&quot; for its Min property.  You could create a separate rule instance for each textbox, but any such trick will be a hack.&lt;br&gt;&lt;br&gt;The good news is that .NET 3.5 introduces a much better solution via its &lt;a target=&quot;_blank&quot; href=&quot;http://blogs.msdn.com/wpfsdk/archive/2007/10/02/data-validation-in-3-5.aspx&quot;&gt;IDataErrorInfo support&lt;/a&gt;.&lt;br&gt;&lt;br&gt;Cheers,&lt;br&gt;-dw</description>
		<content:encoded><![CDATA[<p>Hi Ykey,</p>
<p>The ValidationRule base class is not a dependency object and it is not a member of the visual tree, so you cannot create a &#8220;binding&#8221; for its Min property.  You could create a separate rule instance for each textbox, but any such trick will be a hack.</p>
<p>The good news is that .NET 3.5 introduces a much better solution via its <a target="_blank" href="http://blogs.msdn.com/wpfsdk/archive/2007/10/02/data-validation-in-3-5.aspx">IDataErrorInfo support</a>.</p>
<p>Cheers,<br />-dw</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ykey</title>
		<link>http://drwpf.com/blog/2007/09/02/supplying-an-object-reference-in-the-constructorparameters-collection-of-an-objectdataprovider/comment-page-1/#comment-41</link>
		<dc:creator>Ykey</dc:creator>
		<pubDate>Fri, 30 Nov 2007 15:01:47 +0000</pubDate>
		<guid isPermaLink="false">http://drwpf.com/blog/?p=5#comment-41</guid>
		<description>Hi Dr.Wpf&lt;br&gt;&lt;br&gt;I have some problem when Binding a validation like this:&lt;br&gt;&lt;br&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&lt;TextBox DockPanel.Dock=&quot;Left&quot; Width=&quot;160&quot; Validation.ErrorTemplate=&quot;{StaticResource validationTemplate}&quot;&gt;&lt;br&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&lt;Binding UpdateSourceTrigger=&quot;PropertyChanged&quot; &gt;&lt;br&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&lt;Binding.ValidationRules&gt;&lt;br&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&lt;val:AgeValidationRule&#160;&#160;Min=&quot;0&quot; Max=&quot;180&quot; /&gt;&lt;br&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&lt;/Binding.ValidationRules&gt;&lt;br&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&lt;/Binding&gt;&lt;br&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&lt;/TextBox&gt;&lt;br&gt;&lt;br&gt;but I want to set the next TextBox</description>
		<content:encoded><![CDATA[<p>Hi Dr.Wpf</p>
<p>I have some problem when Binding a validation like this:</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;TextBox DockPanel.Dock=&#8221;Left&#8221; Width=&#8221;160&#8243; Validation.ErrorTemplate=&#8221;{StaticResource validationTemplate}&#8221;&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;Binding UpdateSourceTrigger=&#8221;PropertyChanged&#8221; &gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;Binding.ValidationRules&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;val:AgeValidationRule&nbsp;&nbsp;Min=&#8221;0&#8243; Max=&#8221;180&#8243; /&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/Binding.ValidationRules&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/Binding&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/TextBox&gt;</p>
<p>but I want to set the next TextBox</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marlon Grech</title>
		<link>http://drwpf.com/blog/2007/09/02/supplying-an-object-reference-in-the-constructorparameters-collection-of-an-objectdataprovider/comment-page-1/#comment-40</link>
		<dc:creator>Marlon Grech</dc:creator>
		<pubDate>Sun, 28 Oct 2007 15:30:37 +0000</pubDate>
		<guid isPermaLink="false">http://drwpf.com/blog/?p=5#comment-40</guid>
		<description>Impressive!!!&lt;br&gt;&lt;br&gt;When I read your posts I feel like I know nothing about WPF!&lt;br&gt;&lt;br&gt;You are too much. Can you please give me a small piece of you knowledge? :)&lt;br&gt;&lt;br&gt;Joking apart good job, nicely done!&lt;br&gt;&lt;br&gt;Regards</description>
		<content:encoded><![CDATA[<p>Impressive!!!</p>
<p>When I read your posts I feel like I know nothing about WPF!</p>
<p>You are too much. Can you please give me a small piece of you knowledge? <img src='http://drwpf.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Joking apart good job, nicely done!</p>
<p>Regards</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dr. WPF</title>
		<link>http://drwpf.com/blog/2007/09/02/supplying-an-object-reference-in-the-constructorparameters-collection-of-an-objectdataprovider/comment-page-1/#comment-39</link>
		<dc:creator>Dr. WPF</dc:creator>
		<pubDate>Tue, 04 Sep 2007 10:18:15 +0000</pubDate>
		<guid isPermaLink="false">http://drwpf.com/blog/?p=5#comment-39</guid>
		<description>I found some other markup extensions discussed here (http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1772475&amp;amp;SiteID=1) and here (http://rrelyea.spaces.live.com/blog/cns!167AD7A5AB58D5FE!2260.trak) that provide similar functionality by leveraging name resolution.  These provide handy ways to look up named elements.  But they will not work for unnamed objects or non-DOs.  Nor will they work across namescopes.  But it&#039;s great to hear that this functionality is planned for a future release.  :-)</description>
		<content:encoded><![CDATA[<p>I found some other markup extensions discussed here (<a href="http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1772475&amp;amp;amp;SiteID=1" rel="nofollow">http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1772475&amp;amp;amp;SiteID=1</a>) and here (<a href="http://rrelyea.spaces.live.com/blog/cns" rel="nofollow">http://rrelyea.spaces.live.com/blog/cns</a>!167AD7A5AB58D5FE!2260.trak) that provide similar functionality by leveraging name resolution.  These provide handy ways to look up named elements.  But they will not work for unnamed objects or non-DOs.  Nor will they work across namescopes.  But it&#8217;s great to hear that this functionality is planned for a future release.  <img src='http://drwpf.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
