Skip to main content
Home Forums General Silverlight New Features in Silverlight 3 DataForm and DataFormComboBoxField
1 replies. Latest Post by TOUMI fethi on July 2, 2009.
(0)
RogerGu
Participant
883 points
258 Posts
06-11-2009 1:26 PM |
I have struggled with this, but am finally figuring out one thing I did wrong. I based my app on what Bob Baker posted here:
http://silverlight.net/forums/p/94171/231667.aspx#231667
My mistake was binding to the property of my ItemSource object that was a related object from my context. I am now instead binding to the objectId property on my object. Example: bind to UserStatusId(type: Int) property, instead of the UserStatus (type:UserStatus) property.
Now my concern is the RIA Services. Some my objects only expose the related object as a property, not the related objectId as a property. In others, I have both. What drives this?
Thanks,Roger
Twitter
TOUMI fethi
Member
2 points
1 Posts
07-02-2009 11:07 AM |
Hi Roger,
I want to do the same thing : my context is already loaded before i go to the page.
I want to load all referentiel data (data to put later in combos) when the application start up
Can you share a sample of your code?
Did you have an idea of how can i implement caching ?
Thanks