Questions tagged [xmldataprovider]

provides data binding from XML in Microsoft Windows Presentation Foundation (WPF) 4

MSDN links

81 questions
1
vote
1 answer

How to overwrite constructor property from function

I am new in JavaScript programming and I have got no idea even how to ask Google, so i will describe in detail what I would like to achieve. I am using node.js and xml2js module to create DataProvider class for jasmine, that parse simple XML…
1
vote
3 answers

Binding error on XmlDataProvider (cannot bind to non-XML object)

I have a problem on binding some controls to my XML. My application populates a TabControl at runtime, loading the XAML for the TAB with DataTemplateSelector: class TemplateSelector : DataTemplateSelector { public override DataTemplate…
Barzo
  • 1,039
  • 1
  • 11
  • 37
1
vote
1 answer

Unwantend checkbox/datasource behavior, content reloads on checkbox.Checked event

I have a form with a textbox, a checkbox and a button. TextBox and Button are bound to an xml file via an XmlDataProvider defined in the Grid.Datacontext. The Text of the textbox.Text is changed on button click. Here comes the problem: when i…
Joel
  • 4,862
  • 7
  • 46
  • 71
1
vote
1 answer

Sorting of XmlData in a TreeView

I have a TreeView that I fill with data from a XmlDataProvider. The is something I have created my self. And I want to sort the items in the TreeView but can't get it to work. So I have made you an sample code that you can just paste into your VS…
Markus
  • 3,297
  • 4
  • 31
  • 52
1
vote
1 answer

How can I use encrypted xml file as application resources for xaml data binding?

I want to use encrypted xml file as application resource for easy xaml data binding. Xml file are encrypted in different application. I can use unencrypted xml for data binding. I cant use the same method for encrypted xml because the file is…
Syaiful Nizam Yahya
  • 4,196
  • 11
  • 51
  • 71
1
vote
1 answer

Combobox Dataprovider - Only gets labelField from XML not the associated ID

Back again this time working with data providers. Well i been doing a bit of training with Flex, and I've searched, and i managed to get a ComboBox being populated through XML data. Its works pretty well, he gets the LabelField for each item from…
Fábio Antunes
  • 16,984
  • 18
  • 75
  • 96
1
vote
1 answer

Binding ItemsSource to an XML String

I have a database stored procedure call that, among other columns, returns a column that contains data in XML format. I'm trying to display the results of this call in a grid (the call is made through Entity Framework, so the actual objects bound to…
Adam Robinson
  • 182,639
  • 35
  • 285
  • 343
1
vote
1 answer

Displaying data from an XML file, on a listbox

I have an xml file named Data.xml and it looks something like this 23423 34234 45435 67867 I want to display these numbers, on a ListBox…
MVZ
  • 2,220
  • 5
  • 27
  • 57
1
vote
1 answer

Items not showing in WPF ListBox even though they show up in design mode

I'm having some problems with data binding in XAML and WPF. Specifically, I'm trying to bind data from an XmlDataProvider to a ListBox. The problem is this, when I'm in design mode in Visual Studio 2010, the xml items show up correctly, but when I…
luddet
  • 1,235
  • 1
  • 11
  • 11
0
votes
1 answer

Load XmlDataProvider in code

Im puzzled I have xml document 10110001 ESP North Casing 2010-01-01 1
klashagelqvist
  • 1,251
  • 2
  • 26
  • 52
0
votes
1 answer

SelectedItem of Listview is lost when refreshing XML DataProvider

I have a Listview which is bound to a XML file. The values of the different nodes of the XML files can be changed using Textboxes. If I change the value of an element which is directly bound to the element in the listview everything works fine. The…
0
votes
1 answer

Two connected comboboxes + XML + DataBinding

I have a problem similar to this and this. Here is a description: I have a following XML:
Werolik
  • 923
  • 1
  • 9
  • 23
0
votes
0 answers

Binding TreeView to XML DataSource

I'm struggling with the WPF TreeView and an XmlDataProvider. The format of my XML datasource is like this:
JKO
  • 148
  • 5
0
votes
1 answer

Group DataGrid with XmlDataProvider source

I have a XmlDataProvider, a ListBox and a DataGrid. The underlying xml file has this kind of structure: The ListBox lists…
ch40s
  • 580
  • 1
  • 7
  • 19
0
votes
1 answer

How can I make xmldataprovider process escaped characters?

I have built a very simple XAML RSS reader in WPF, using the XMLDataProvider to get the RSS data. That XAML looks like this:
Cameron Peters
  • 2,502
  • 2
  • 27
  • 34