Quantcast
Viewing all articles
Browse latest Browse all 1083

Validation RIA and Entityframework

I am so frustrated with Silverlight now. Please bare with me.

In the Web site I have:

I have an INVOKE query some things like IsCountryExist(CountryName as string) and return true or false. The query is in the domainservice.vb file.

In the Client site I have:

in XAML, a textbox, when it lost focus, it call the INVOKE IsCountryExists( what ever user type in).  Let says it returns back false that means there is no such Counry.  This is where I got stuck.  How do tell the Silverlight there is an error?

Please vb codes, if it is C# it is even more confusion.  Or is there any place does have step-by-step to do it?

Thank you


Viewing all articles
Browse latest Browse all 1083

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>