<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : Property Level HasErrors property...</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Property Level HasErrors property...</description>
  <pubDate>Sun, 12 Apr 2026 16:16:34 -700</pubDate>
  <lastBuildDate>Thu, 17 Feb 2011 17:14:27 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=2503</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>Property Level HasErrors property... : Thanks. </title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2503&amp;PID=9977#9977</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=761" rel="nofollow">as123</a><br /><strong>Subject:</strong> 2503<br /><strong>Posted:</strong> 17-Feb-2011 at 5:14pm<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Thanks.]]>
   </description>
   <pubDate>Thu, 17 Feb 2011 17:14:27 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2503&amp;PID=9977#9977</guid>
  </item> 
  <item>
   <title>Property Level HasErrors property... : Hi as123,  You can check the...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2503&amp;PID=9976#9976</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=892" rel="nofollow">sbelini</a><br /><strong>Subject:</strong> 2503<br /><strong>Posted:</strong> 17-Feb-2011 at 5:12pm<br /><br /><P>Hi as123, </P><DIV>You can check the property for validation errors by using the GetErrors(propertyName) method:</DIV><DIV>&nbsp;</DIV><DIV><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>var</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> idErrors = ((</FONT></FONT><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas>INotifyDataErrorInfo</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>)employee).GetErrors(</FONT></FONT><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas>Employee</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>.</FONT></FONT><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas>PropertyMetadata</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>.Id.Name);</FONT></FONT></DIV><DIV><DIV>&nbsp;</DIV><DIV>The GetErrors method is a member of the INotifyDataErrorInfo interface which is implemented by the EntityWrapper.</DIV><DIV>&nbsp;</DIV><DIV>You can find valuable information about this topic in our <a href="http://drc.ideablade.com/xwiki/bin/view/&#068;ocumentati&#111;n/Verificati&#111;n-in-the-User-Interface" target="_blank">DevForce Resource Center</A> and also find more information about the INotifyDataErrorInfo and the EntityWrapper in our <a href="http://drc.ideablade.com/Api&#068;ocumentati&#111;n/webframe.html" target="_blank">API Documentation</A> online. (also installed with DevForce)</DIV><DIV>&nbsp;</DIV><DIV>Regards, </DIV><DIV>&nbsp;&nbsp; Silvio.</DIV></DIV>]]>
   </description>
   <pubDate>Thu, 17 Feb 2011 17:12:30 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2503&amp;PID=9976#9976</guid>
  </item> 
  <item>
   <title>Property Level HasErrors property... : When multiple verifiers are attached...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2503&amp;PID=9927#9927</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=761" rel="nofollow">as123</a><br /><strong>Subject:</strong> 2503<br /><strong>Posted:</strong> 11-Feb-2011 at 11:18am<br /><br /><P style="MARGIN: 0in 1.5pt 0.75pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: black; FONT-SIZE: 9pt; mso-bidi-font-family: 'Times New Roman'; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN" lang=EN>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; When multiple verifiers are attached to a single property, is there a way to accumulate the results at the individual property level and see whether everything succeeded? <?: prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P><P style="MARGIN: 0.75pt 1.5pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: black; FONT-SIZE: 9pt; mso-bidi-font-family: 'Times New Roman'; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN" lang=EN>&nbsp;<o:p></o:p></SPAN></P><P style="MARGIN: 0.75pt 1.5pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: black; FONT-SIZE: 9pt; mso-bidi-font-family: 'Times New Roman'; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN" lang=EN>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; For example, let us say I have ID and Name properties on an entity, and each of them has 5 verifiers. Now, if I need to know whether ID is valid (after executing all the 5 verifiers) as part of the Business logic, do I need to go through the verifier result collection and check the results? Is there any DevForce property specifying whether each Entity Property is valid, similar to HasErrors on the Instance?<o:p></o:p></SPAN></P><P style="MARGIN: 0.75pt 1.5pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: black; FONT-SIZE: 9pt; mso-bidi-font-family: 'Times New Roman'; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN" lang=EN>&nbsp;<o:p></o:p></SPAN></P><P style="MARGIN: 0.75pt 1.5pt 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: black; FONT-SIZE: 9pt; mso-bidi-font-family: 'Times New Roman'; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN" lang=EN>Thanks</SPAN></P>]]>
   </description>
   <pubDate>Fri, 11 Feb 2011 11:18:12 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2503&amp;PID=9927#9927</guid>
  </item> 
 </channel>
</rss>