WCF RIA Serviceshttp://forums.silverlight.net//53.aspx/1?WCF+RIA+ServicesA forum for discussing the client and server pieces that make up the WCF RIA Services framework for SilverlightMon, 01 Jan 0001 00:00:00 -050053258120http://forums.silverlight.net//p/114537/258120.aspx/1?Client+ValidationClient Validation <p>Hi,</p> <p>&nbsp;&nbsp;&nbsp;&nbsp; Just i started going through silverlight 3. I have couple questions to under stand the bsic programming/approches.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Validation :</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Q 1: I understand, write validation in server(one place). Validation happens in client and server. I have couple of data entry forms. I will update the&nbsp; server when user click on save button. In this case,&nbsp;&nbsp;Can we use validators in silverlight like we use validators in .Net?</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Q 2:&nbsp; Let assume we are getting data from WCF/Webservice (hosted by third party). How do we use validation in silverlight? Because we can't force third party&nbsp;team to provide validation&nbsp;on entity / entity properties.&nbsp; </p> <p>Thanks</p> <p>Ravi Potturi&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p> <p>&nbsp;</p> <p>&nbsp;</p> <p>&nbsp;</p> <p>&nbsp;</p> <p>&nbsp;</p> 2009-07-27T16:25:52-04:00258502http://forums.silverlight.net//p/114537/258502.aspx/1?Re+Client+ValidationRe: Client Validation <p>&nbsp;friend go with this <a href="http://code.msdn.microsoft.com/RiaServices/Release/ProjectReleases.aspx?ReleaseId=2387"> link</a> u will get solution for all your's problem<br> </p> 2009-07-28T04:38:19-04:00262069http://forums.silverlight.net//p/114537/262069.aspx/1?Re+Client+ValidationRe: Client Validation <p>Hi Ravi,</p> <p></p> <blockquote><span class="icon-blockquote"></span> <h4>pprasadravi</h4> Q 1: I understand, write validation in server(one place). Validation happens in client and server. I have couple of data entry forms. I will update the&nbsp; server when user click on save button. In this case,&nbsp;&nbsp;Can we use validators in silverlight like we use validators in .Net?</blockquote> <p></p> <p>Yes, you can use validator to apply validation manually,please check this article</p> <p><a href="http://msdn.microsoft.com/en-us/library/dd901590(VS.95).aspx">http://msdn.microsoft.com/en-us/library/dd901590(VS.95).aspx</a></p> <p></p> <blockquote><span class="icon-blockquote"></span> <h4>pprasadravi</h4> Q 2:&nbsp; Let assume we are getting data from WCF/Webservice (hosted by third party). How do we use validation in silverlight? Because we can't force third party&nbsp;team to provide validation&nbsp;on entity / entity properties.&nbsp; </blockquote> &nbsp; <p></p> <p>One&nbsp;way is to&nbsp;modify auto-generating entities, however, it will get troubles on updating webservices. Another&nbsp;approach is to share entities libraries between silverlight and server. please check this thread,</p> <p><a href="http://silverlight.net/forums/t/114482.aspx">http://silverlight.net/forums/t/114482.aspx</a></p> <p>Thanks,</p> 2009-08-03T03:06:12-04:00