The solution he provided me really help me to understand. To further my knowledge. How would I take the string and bind all the XML data to text boxes. So when a user clicks on the ITem n the listbox it will populate all 6 or so texboxes?
Thanks AGain
Regards,
Here is the Xml String
Java |
Thanks

Raaj KumarRank #7,836 · 233 reputationPosted Feb 28, 2010, 10:42 PM EST
Create IValueConverter for each textbox and follow the previous procedure. IMultivalueConverter is used for processing multiple inputs and give it is as single output.
Check this for complete tutorial on IMultivalueConverter.
http://www.switchonthecode.com/tutorials/wpf-tutorial-using-multibindings
This link provides an example of what exactly you are looking for
http://blogs.interknowlogy.com/johnbowen/archive/2007/04/26/13020.aspx
Please let me know if want more help.
Regards,
raaj
Regards,
raaj
Sam HobbsRank #107 · 20.5K reputationPosted Feb 28, 2010, 8:08 AM EST
RIck Mueller45 reputationPosted Feb 28, 2010, 9:47 AM EST
My post is not not that detailed, Sorry.
Currently I have a listbox with expanders The header and content is binded to xml file using IvalueConverter. It works great. I'm able to popluate one textbox with the correct node. I want to be able to select a item in the listbox(expander) and it populates each textbox with each string node. I hope that makes sense.
Regards,
Sam HobbsRank #107 · 20.5K reputationPosted Feb 28, 2010, 9:52 PM EST
RIck Mueller45 reputationPosted Mar 1, 2010, 4:38 AM EST
Thanks Again
Regards,
RIck Mueller45 reputationPosted Mar 1, 2010, 2:34 PM EST
I figure it out, needed to create Ivalueconverters for each textbox
Thanks Again