-the itemsource of the datagrid will be bound to the data from the database through RIA WCF
-the itemsource of the combobox which is inside the datagrid will be bound to the ListFinancialAccountType property which is a collection of Financial Account Types (also retrieve through RIA WCF).
I can show the list of all of the available Account Type Name for the combobox. However, I can't set the default value for the combobox which should be matched with the value of each row in the datagrid
For example: the value of the combobox will tell us what type of the financial account is(Asset, income,..) . However, its real value in the row of the datagrid is an integer type(FinancialAccountTypeId) but i want it to be displayed as either "Asset", "Income",... So i need to look up on the Financial Account Type List(which will be retrieved through RIA WCF). The FinancialAccountType has FinancialAccountTypeId and AccountTypeName properties.
So on the rows of the datagrid, the combobox will display "Asset", "Income",.... instead of 1,2,... .
The code looks OK, and it should work as expected. Attached I am sending you a sample project close to your scenario, which works fine. If you still experience difficulties with the Microsoft's ComboBox please write in the silverlight.net forums. There you will receive more accurate answers to your inquiries.
Please let us know if you have any other questions regarding our controls.
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items