Advanced Forum Search Results
-
Hello J,
I was mistaken in my post. ConverterParameter only takes strings.
Klinger
-
My mistake.
-
Take a look on the following link:
http://blogs.msdn.com/erwinvandervalk/archive/2009/03/02/how-to-build-an-outlook-style-application.aspx
It's a good sample app that also shows you how to use CAL (aka Prism).
-
Silverlight application have very limited access to local resources.
Access to data is usually by services calls. WCF is one of "many" alternatives.
RIA Services (still CTP) is another.
Web services are also supported. RESTfull style services are also supported.
-
The userstate is client side only.
It's not serialized to the server side.
On the client side you can change the userstate but it would not make a lot of sense.
The user state is generaly used when you need the service callback function to have access to something
known when the service was called.
-
In my view RIA Services validation should be kept to things that have to do with the entity itself.
Inside the entities I only put validations that do not need extra info other than the entity's properties.
The only extra info I allow in my validations are system/users settings/preferences and only because I can duplicate those between ...
-
And, no, you don't have to call server code for validation. This code will be in the client side already, if you have defined it using
the metadata classes.
-
For simple CRUD operations you get by just by defining the validation logic within the entity.
If it involves more than one entity you will need a class to manage the feature.
It could be the code behind of a usercontrol/page, or something like MVVM (ModelView-ViewModel), MVP, MVC.
MVVM is usually a good choice with ...
-
Try triggering the binding manualy:
void textBox_TextChanged(object sender, TextChangedEventArgs e)
{
BindingExpression bExp = ...
-
In Silverlight 3 try:
<TextBlock Text="{Binding Path=(Customer_To_Address_To_AddressType)[0].AddressType.Name}" />
As described in the following MSDN link:
http://msdn.microsoft.com/en-us/library/cc645024(VS.95).aspx#indexanim