I am using a Silverlight 4 Navigation template. I use a DomainDataSource to load a specific entity called Issue. Each Issue has a Category. But I am not sure of the best way to perform the binding of a combobox so that the combobox is populated with the categories but the selected item is bound to the category of the Issue being edited. I have a method that seems like a total hack. So I would like some adice from the experts.
ComboBox Binding to display list but bind selection to entity?
984 views Asked by Robert Kaucher At
1
There are 1 answers
Related Questions in SILVERLIGHT-4.0
- How can I pass content to a parent template from a child template in Silverstripe
- create a PDF document in Silverlight
- Silverlight 4 SDK
- How can I set a TextBox text programmatically in XAML (Silverlight)
- Silverlight 4 Application run in silverlight 5 in visual-studio-2015
- Access Local Files from IIS "silverligh"
- Binding Observable collection list to dynamically created ComboBox in Silverlight
- Silverlight - ComboBox and other fields in toolkit:DataForm are not available in the .xaml.cs
- Consume same WCF service from angular 2 and Silverlight application
- Richtextbox values showing in single line
- SilveLight 4, System Reflection.TargetInvocationException: (Async_ExceptionOccurred)
- Port Wince 7 Xaml Based application to win32 platform
- DataGrid HeaderStyle overriding Header
- Silverlight with RIA services on IIS 10.0 results in 404 error
- load dynamically dll from file path at runtime in silverlight
Related Questions in ENTITY-FRAMEWORK-4
- How can i bind same column in DbModelBuilder for IdentityUser's two different properties
- how to make a relationship between 3 tables using the Join() method and using two values as a rule Entity Framework
- Linq to SQL: GroupBy() and Max() to get set of data
- Migrate from EF to EF Core. Unloaded entity in the For Loop
- How to use translate Max(value) and Group By (Value/100) in VB LINQ?
- C# MVC with Entity Framework Database Initializer failing
- Is it possible to compare with a number in "Where"?
- Function mapping in Entity framework
- EF Core - problem with inheritance from table and use primary key in the next table
- Entity Framework Datetime Conversion
- How to use older version of Entity Framework when updating Model
- Entity Remove() is setting foreign key properties to null
- Passing empty DataTable to SQL Server stored procedure through database context
- Improving performance of Linq to SQL list intersection
- The type of one of the expressions in the join clause is incorrect. Type inference failed in the call to 'Join'.- Linq JOIN with multiple condition
Related Questions in DOMAINDATASOURCE
- Insert an item into a DomainDataSource in a specific position/index
- SUM and GROUPBY lambda expression on DataDomainService
- DomainDataSource datagrid binding in Silverlight
- Have the server perform post processing on a string before it is returned via a WCF RIA query?
- Add new object to domain data source
- SilverLight 4.0 C# - DomainDataSource DataGrid with CheckBox Column (UI only - not a data field) to allow user to select multiple records/rows
- Different datacontext between textbox and its tooltip in silverlight
- Supress total page count query (Silverlight DataPager)
- Silverlight DomainContext load with two separate DomainDataSources
- Silverlight Domain Data Source + Paging : AutoLoad = "False"
- Silverlight refreshing domainDataSource
- bind silverlight dataform
- DomainDataSource + DomainService
- VB Overload resolution failed
- Hex annotation on MSDN site
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
ComboBox has two different properties you can bind to, it has a ItemsSource, and a SelectedValue.
So in this case you could bind your list of categories tot he ItemsSource, and bind your category on your issue to SelectedValue.
Take a look here for more information: http://johnpapa.net/silverlight/binding-to-silverlight-combobox-and-using-selectedvalue-selectedvaluepath-and-displaymemberpath/