A general technique that binds two data/information sources together and maintains them in sync.
0
votes
3answers
15 views
xaml Convert ID to String without using ComboBox
I've been using code like this
<ComboBox ItemsSource="{Binding Path=CompaniesViewModel.CompaniesCollection}"
SelectedValuePath="CompanyId"
...
0
votes
1answer
18 views
DataGrid get Cell Contents
So I am trying to add a title value to my DataGrid cell based on another cell within the same row.
I have an event triggered on ItemCreated which currently sets the cell to the HeaderText
using ...
0
votes
0answers
7 views
Databind Kendo MobileListView
I have a desktop page that works fine. This page uses the Kendo ListView HTML Helper to bind the data and then a C# method in the controller to post to. I'd like to use the same controller method but ...
1
vote
1answer
15 views
How to use data binding in the SystemTray when using Caliburn Micro?
I am converting a WP8, MVVM based app over to Caliburn Micro, which I'm brand new to (and pretty green to XAML/WP8 too)
I am stumped on how to bind things like the SystemTray to my view's ViewModel. ...
0
votes
0answers
6 views
why does this not order the elements in the comboBox?
I have this converter:
public class ucVideosDgdVideosTipoMultiValueConverter : IMultiValueConverter
{
public object Convert(object[] values, Type targetType, object parameter, CultureInfo ...
0
votes
1answer
15 views
Knockout options binding with array of objects remove issue
In this view model I'm binding a drop down list with objects. when I want to clear the items from the drop downlist, I've provided selected item with "null" but it does clear the drop down but doesn't ...
1
vote
1answer
25 views
Binding treeview to object
Bit new to WPF, so i'm just trying to get my head around some bindings in the context of treeviews. First, some code.
In my main window i add my namespace;
xmlns:WPFFM="clr-namespace:WPFFM"
My ...
0
votes
0answers
21 views
Update Databinding on lost focus (Winforms)
I've seen that WPF has a UpdateSourceTrigger property that will allow for data binding to take place after a control has lost focus, is there something similar for winforms?
I've come across an ...
0
votes
1answer
17 views
Master-Detail Binding
I am trying to implement simple master detail databinding C# WPF in Xaml. On the left side I have a listbox which is properly generated and on the right side I have a datagrid. When I click on left ...
0
votes
2answers
25 views
GridView onDataBinding
i have a gridview that uses template where in that template i have two buttons:
here is my code:
<asp:GridView ID="gvtransaction" runat="server" AutoGenerateColumns="False" Width="60%" ...
0
votes
1answer
41 views
Set WPF Image source from List<T> based on combo box selection
I have a SearchResponse class that is returned to my viewmodel.
public class SearchResponse
{
public ICollection<SearchResult> Results { get; private set; }
public string ...
1
vote
3answers
29 views
What is a good way to edit a record in a database and preserve the former record
I'm developing an application that doesn't allow delete. It allows edit, but the old records must be preserved. I'm not sure the best method to implement this, but here are my thoughts.
I intend to ...
0
votes
0answers
21 views
how to access to the main data context in the datagrid binding?
I have a control which name is "Principal" and this control has a dataGrid.
<DataGrid.Columns>
<DataGridTextColumn Header="IDVideo" Binding="{Binding IDVideo, Mode=TwoWay}" ...
0
votes
2answers
20 views
AngularJs Binding directives to getter properties
Are you able to bind a directive to a getter property on a service using AngularJs?
I have a directive that is trying to watch a property on a service, it gets updated once on app start. Then it ...
0
votes
2answers
15 views
How to put JSON object into HyperLink rel attribute in ASP.NET page?
I want to include JSON object into HyperLink rel attribute in ASP.NET page, to consume this object by javascript later. I am using code like this:
<asp:GridView ID="GridView" runat="server" ...