<?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 : Validation other than Grid or Dataform</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Validation other than Grid or Dataform</description>
  <pubDate>Wed, 29 Jul 2026 12:23:36 -700</pubDate>
  <lastBuildDate>Thu, 06 Jan 2011 11:21:24 -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=2188</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>Validation other than Grid or Dataform : Hi Andy;Sorry, but I&amp;#039;m afraid...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2188&amp;PID=9576#9576</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=912" rel="nofollow">DenisK</a><br /><strong>Subject:</strong> 2188<br /><strong>Posted:</strong> 06-Jan-2011 at 11:21am<br /><br />Hi Andy;<div><br></div><div>Sorry, but I'm afraid I already deleted the sample from my machine as well.</div><div><br></div><div>Basically, all you need to do is set your DataContext to your entity and bind your TextBox to the property of that entity.</div><div><br></div><div>For example, if you have a StackPanel and a TextBox, your xaml code should look something like this.</div><div><br></div><div>&lt;StackPanel DataContext="{Binding Employee}"&gt;</div><div><br></div><div><span ="Apple-tab-span" style="white-space:pre">	</span>&lt;TextBox&nbsp;<span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; ">Text="{Binding City, Mode=TwoWay, NotifyOnValidationError=true}" /&gt;</span></div><div><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; "><br></span></div><div><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; ">&lt;/StackPanel&gt;</span></div><div><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; "><div><br></div><div>Hope this helps.</div><div><br></div><div>Denis</div></span></div>]]>
   </description>
   <pubDate>Thu, 06 Jan 2011 11:21:24 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2188&amp;PID=9576#9576</guid>
  </item> 
  <item>
   <title>Validation other than Grid or Dataform : HiDenisKWould it be possible to...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2188&amp;PID=9573#9573</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1042" rel="nofollow">abaptie</a><br /><strong>Subject:</strong> 2188<br /><strong>Posted:</strong> 06-Jan-2011 at 10:18am<br /><br />Hi&nbsp;<span ="Apple-style-span" style="line-height: 15px; font-size: 11px; -webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; ">DenisK</span><div><span ="Apple-style-span" style="line-height: 15px; font-size: 11px; -webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; "><br></span></div><div><span ="Apple-style-span" style="line-height: 15px; font-size: 11px; -webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; ">Would it be possible to see that example - the link seems to be broken</span></div><div><span ="Apple-style-span" style="line-height: 15px; font-size: 11px; -webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; "><br></span></div><div><span ="Apple-style-span" style="line-height: 15px; font-size: 11px; -webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; ">Thanks</span></div><div><span ="Apple-style-span" style="line-height: 15px; font-size: 11px; -webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; "><br></span></div><div><span ="Apple-style-span" style="line-height: 15px; font-size: 11px; -webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; ">Andy</span></div>]]>
   </description>
   <pubDate>Thu, 06 Jan 2011 10:18:41 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2188&amp;PID=9573#9573</guid>
  </item> 
  <item>
   <title>Validation other than Grid or Dataform :  Bob;Please try this link.htt...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2188&amp;PID=8827#8827</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=912" rel="nofollow">DenisK</a><br /><strong>Subject:</strong> 2188<br /><strong>Posted:</strong> 19-Oct-2010 at 11:08am<br /><br />Bob;<div><br></div><div>Please try this link.</div><div><br></div><div><a href="http://wikisend.com/download/477680/SilverlightApplicati&#111;n1.zip" target="_blank">http://wikisend.com/download/477680/SilverlightApplication1.zip</a></div>]]>
   </description>
   <pubDate>Tue, 19 Oct 2010 11:08:30 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2188&amp;PID=8827#8827</guid>
  </item> 
  <item>
   <title>Validation other than Grid or Dataform : DenisK, Can you please verify...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2188&amp;PID=8792#8792</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=599" rel="nofollow">btitular</a><br /><strong>Subject:</strong> 2188<br /><strong>Posted:</strong> 14-Oct-2010 at 11:46pm<br /><br /><P>DenisK,</P><DIV>Can you please verify the link. I'm getting a reference to an excel file. I'd like to see this sample solution as well. Thanks!</DIV><DIV>&nbsp;</DIV><DIV>Bob</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 14 Oct 2010 23:46:27 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2188&amp;PID=8792#8792</guid>
  </item> 
  <item>
   <title>Validation other than Grid or Dataform : Moni;I&amp;#039;ve created a solution...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2188&amp;PID=8629#8629</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=912" rel="nofollow">DenisK</a><br /><strong>Subject:</strong> 2188<br /><strong>Posted:</strong> 24-Sep-2010 at 2:12pm<br /><br /><div style=": rgb255, 255, 255; margin-left: 1px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; font-family: Verdana, Arial, Helvetica, sans-serif; color: rgb0, 0, 0; font-weight: normal; font-size: 12px; line-height: 1.4; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; -: n&#111;ne; ">Moni;<div><br></div><div>I've created a solution that should help you get started. Please click the link below.</div><div><br></div><div><a href="http://wikisend.com/download/492914/SilverlightApplicati&#111;n1.zip" target="_blank">http://wikisend.com/download/492914/SilverlightApplication1.zip</a></div></div>]]>
   </description>
   <pubDate>Fri, 24 Sep 2010 14:12:36 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2188&amp;PID=8629#8629</guid>
  </item> 
  <item>
   <title>Validation other than Grid or Dataform : my xmal code&amp;lt;telerik:RadMaskedTextBox...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2188&amp;PID=8628#8628</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=954" rel="nofollow">moni</a><br /><strong>Subject:</strong> 2188<br /><strong>Posted:</strong> 24-Sep-2010 at 2:01pm<br /><br />my xmal code<br><br>&lt;telerik:RadMaskedTextBox HorizontalAlignment="Left" Margin="70,10,0,0" MaskType="None" Name="radMaskedTextBox1" TabIndex="0" VerticalAlignment="Top" Width="305" MaskedText="{Binding DESCO,Mode=TwoWay,UpdateSourceTrigger=Default, ValidatesOnExceptions=True,NotifyOnValidationError=True}"&nbsp; /&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;telerik:RadComboBox&nbsp; DisplayMemberPath="Descricao" HorizontalAlignment="Left" IsEditable="True" IsReadOnly="True" ItemsSource="{StaticResource ListComboYesNo}" Margin="70,38,0,0" Name="radComboBox1" SelectedValuePath="Valor" TabIndex="1" TabNavigation="Local" VerticalAlignment="Top" Width="145" /&gt;<br>]]>
   </description>
   <pubDate>Fri, 24 Sep 2010 14:01:38 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2188&amp;PID=8628#8628</guid>
  </item> 
  <item>
   <title>Validation other than Grid or Dataform : HiThis is my codepublic partial...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2188&amp;PID=8627#8627</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=954" rel="nofollow">moni</a><br /><strong>Subject:</strong> 2188<br /><strong>Posted:</strong> 24-Sep-2010 at 1:59pm<br /><br />Hi<br>This is my code<br><br>public partial class MARK : IbEm.Entity<br>&nbsp;&nbsp;&nbsp; {<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public class verifierProvider : IVerifierProvider<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public IEnumerable&lt;Verifier&gt; GetVerifiers(object verifierProviderContext)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; List&lt;Verifier&gt; verifires = new List&lt;Verifier&gt;();<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //verifires.Add(checkForEmptyVerfier(MARK.PropertyMetadata.DESC));<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; verifires.Add(checkForEmptyVerfier());<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return verifires;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br><br>private static Verifier checkForEmptyVerfier()<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Verifier v = new ForEmptyVerifier(typeof(MARK), MARK.PropertyMetadata.DESC.Name);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; v.VerifierArgs.ErrorMessageInfo.ErrorMessage = "here is some error";<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return v;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public class ForEmptyVerifier : PropertyValueVerifier<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public ForEmptyVerifier(Type pType, string pPropertyName, string pDisplayName = null, bool? shouldTreatEmptyStringAsNull = null)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : base(new PropertyValueVerifierArgs(pType, pPropertyName, false, pDisplayName))<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; protected override VerifierResult VerifyValue(object itemToVerify, object valueToVerify, TriggerContext triggerContext, VerifierContext verifierContext)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; string aString = (string)valueToVerify;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; var result = (aString != string.Empty);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return new VerifierResult(result);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br><br><br>]]>
   </description>
   <pubDate>Fri, 24 Sep 2010 13:59:20 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2188&amp;PID=8627#8627</guid>
  </item> 
  <item>
   <title>Validation other than Grid or Dataform : Moni;I&amp;#039;m not sure I understand....</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2188&amp;PID=8626#8626</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=912" rel="nofollow">DenisK</a><br /><strong>Subject:</strong> 2188<br /><strong>Posted:</strong> 24-Sep-2010 at 1:47pm<br /><br />Moni;<div><br></div><div>I'm not sure I understand. Could you explain with code examples from your xaml class and the class that implements the IVerifierProvider interface?</div>]]>
   </description>
   <pubDate>Fri, 24 Sep 2010 13:47:34 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2188&amp;PID=8626#8626</guid>
  </item> 
  <item>
   <title>Validation other than Grid or Dataform : HiI followed Previous thread and...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2188&amp;PID=8622#8622</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=954" rel="nofollow">moni</a><br /><strong>Subject:</strong> 2188<br /><strong>Posted:</strong> 24-Sep-2010 at 12:05pm<br /><br />Hi<br>I followed Previous thread and conclude that<br>we had same problem.Whenever try to fire exception its works<br>only with Data Form or Data Grid<br>Beacause its directed to property Metadata<br><br>I try to supply seperate class but property found ambiguish between fields<br>How we can we handle simple empty UI field or non selection field<br>with proper error.<br><br>Thanks]]>
   </description>
   <pubDate>Fri, 24 Sep 2010 12:05:49 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2188&amp;PID=8622#8622</guid>
  </item> 
  <item>
   <title>Validation other than Grid or Dataform : Hi moni;Another customer has posted...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2188&amp;PID=8620#8620</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=912" rel="nofollow">DenisK</a><br /><strong>Subject:</strong> 2188<br /><strong>Posted:</strong> 24-Sep-2010 at 8:26am<br /><br />Hi moni;<div><br></div><div>Another customer has posted the same question as yours. Please refer to the following post:</div><div><br></div><div><a href="http://www.ideablade.com/forum/forum_posts.asp?TID=2117&amp;title=validati&#111;n-&#111;n-textbox" target="_blank">http://www.ideablade.com/forum/forum_posts.asp?TID=2117&amp;title=validation-on-textbox</a></div>]]>
   </description>
   <pubDate>Fri, 24 Sep 2010 08:26:45 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2188&amp;PID=8620#8620</guid>
  </item> 
  <item>
   <title>Validation other than Grid or Dataform : Hello People  I getting problem...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2188&amp;PID=8610#8610</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=954" rel="nofollow">moni</a><br /><strong>Subject:</strong> 2188<br /><strong>Posted:</strong> 23-Sep-2010 at 11:56am<br /><br />Hello People<DIV>&nbsp;</DIV><DIV>I getting problem executing validated message. I wonder its working fine with</DIV><DIV>datagrid and dataform but on textbox its not executing.Its working fine in SL</DIV><DIV>but with Devforce seem to have problem.I looking for validation on textbox or</DIV><DIV>combo box. </DIV><DIV>any suggetion</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Thanks</DIV>]]>
   </description>
   <pubDate>Thu, 23 Sep 2010 11:56:06 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2188&amp;PID=8610#8610</guid>
  </item> 
 </channel>
</rss>