bind a collection without using list view wpf

I want to bind a list without listview because I’m tired of the default styles of the listview and that blue selection. The app I’m making is not a table. It’s a question app (sth like google form). I want to load the questions witch needs binding I don’t have enough flexibility. Is there any… Read More bind a collection without using list view wpf

bind multiple variables from list to one combobox

I Just start learn WPF and c# private void TransferAccountButtonClick(object sender, RoutedEventArgs e) { List<Client> allClients = Client.JsonToList(); TransferStackPanel.Visibility = Visibility.Visible; TransferNameCombobox.DataContext = allClients; TransferNameCombobox.DisplayMemberPath = "surname"; } I need to display multiple fields in combox. Something like TransferNameCombobox.DisplayMemberPath = "surname" + " " + "name" + " " + "patronymic"; If I do this… Read More bind multiple variables from list to one combobox

I have this error System.ServiceModel.Security.MessageSecurityException

For what I read and understood, this happens when I’m not sending the authentication. But I tried to send it in two ways: string userN = "username"; string _pasw = "password"; BasicHttpBinding binding = new BasicHttpBinding(); Endpoint wsdl = new Endpoint("MyEndpoint"); SoapClient client = new SoapClient(binding, wsdl); client.ClientCredentials.UserName.UserName = userN; client.ClientCredentials.UserName.Password = _pasw; await client.OpenAsync();… Read More I have this error System.ServiceModel.Security.MessageSecurityException

Need to understand VUE Property or method "range" is not defined on the instance but referenced during render

I need help understanding why the error would show. An example is when I use vue2-daterange-picker. <date-range-picker :singleDatePicker="range" > </date-range-picker> So singleDatePicker is a prop correct? Why is it if I pass the value into the component this way, it returns the error, but if I add the value, range into data it doesn’t? eg… Read More Need to understand VUE Property or method "range" is not defined on the instance but referenced during render

WPF Control Style of Button not detecting IsMouseOver

So am trying to create button style (background opacity to black with 20% alpha and default colour of text changes to clear white) with using ResourceDictionary. I do include file into App.xaml like: <ResourceDictionary> <ResourceDictionary.MergedDictionaries> <ResourceDictionary Source="Style/ButtonStyles.xaml"/> </ResourceDictionary.MergedDictionaries> </ResourceDictionary> and to button am applying x:Key Style="{StaticResource TopBarButtons}" so my style of it looks like (random… Read More WPF Control Style of Button not detecting IsMouseOver

Javascript does not work on returned ajax results

I have an ajax call that returns html. This works well on changes. What does not work though is the javascript I have that does stuff based on clicks in the returned results. The ajax call is: function update_order_shipping(){ $.ajax({ url: ‘ajax_order_shipping.php’, method: "post", dataType: ‘html’, success: function (result) { $(‘#shipping-method’).html(result); }, error: function(xhr, status,… Read More Javascript does not work on returned ajax results