Click here to Skip to main content
15,916,462 members
Home / Discussions / C#
   

C#

 
QuestionParsing Exception? Pin
kumar.bs1-Feb-08 6:42
kumar.bs1-Feb-08 6:42 
GeneralDatabinding listbox Pin
Jacob Dixon1-Feb-08 5:39
Jacob Dixon1-Feb-08 5:39 
GeneralRe: Databinding listbox Pin
Not Active1-Feb-08 5:49
mentorNot Active1-Feb-08 5:49 
QuestionRe: Databinding listbox Pin
Jacob Dixon1-Feb-08 7:56
Jacob Dixon1-Feb-08 7:56 
GeneralRe: Databinding listbox Pin
Not Active1-Feb-08 8:45
mentorNot Active1-Feb-08 8:45 
GeneralStreaming With Flash media Encoder Pin
kibromg1-Feb-08 5:38
kibromg1-Feb-08 5:38 
GeneralRe: Streaming With Flash media Encoder Pin
Pete O'Hanlon1-Feb-08 9:42
mvePete O'Hanlon1-Feb-08 9:42 
QuestionBinding XML to TreeView - can't get it working? Pin
espeholt_jr1-Feb-08 4:44
espeholt_jr1-Feb-08 4:44 
Should'nt the following code not work? I really can't see what's is wrong. I have debugged it, and know the xmldataprovider does contain the data. I have also tried to edit the XPath to other things. And yes, I have looked at other examples and can't figure out what's is wrong. The code works in XamlPad without modifications...

<Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:sys="clr-namespace:System;assembly=mscorlib" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" >
<Page.DataContext>
<XmlDataProvider
XPath="/Accounts/*">
<x:XData>
<Accounts>
<Sum Use="Sum1">
<Account Use="Account1"/>
<Account Use="Account2"/>
</Sum>
<Sum Use="Sum2">
<Sum Use="Sum3">
<Account Use="Account3"/>
<Account Use="Account4"/>
</Sum>
<Account use="Account5"/>
</Sum>
</Accounts>
</x:XData>
</XmlDataProvider>
</Page.DataContext>
<Page.Resources>
<HierarchicalDataTemplate
DataType="Sum"
ItemsSource="{Binding}">
<TextBlock Text="{Binding XPath=@Use}" />
</HierarchicalDataTemplate>
<HierarchicalDataTemplate
DataType="Account"
ItemsSource="{Binding}">
<TextBlock Text="{Binding XPath=@Use}" />
</HierarchicalDataTemplate>
</Page.Resources>
<TreeView ItemsSource="{Binding}"/>
</Page>

Best regards
Lasse Espeholt
General.net 2.0 multi selection drop down Pin
arkiboys1-Feb-08 4:03
arkiboys1-Feb-08 4:03 
GeneralRe: .net 2.0 multi selection drop down Pin
Bijesh1-Feb-08 4:44
Bijesh1-Feb-08 4:44 
GeneralLinkedList XML serialization problem Pin
Kosomot1-Feb-08 3:55
Kosomot1-Feb-08 3:55 
GeneralRe: LinkedList XML serialization problem Pin
Skippums1-Feb-08 5:17
Skippums1-Feb-08 5:17 
GeneralRe: LinkedList XML serialization problem Pin
Kosomot1-Feb-08 7:29
Kosomot1-Feb-08 7:29 
GeneralRe: LinkedList XML serialization problem Pin
Skippums1-Feb-08 8:33
Skippums1-Feb-08 8:33 
GeneralApplication on LAN Pin
mehrdadc481-Feb-08 1:14
mehrdadc481-Feb-08 1:14 
GeneralRe: Application on LAN Pin
Not Active1-Feb-08 2:59
mentorNot Active1-Feb-08 2:59 
GeneralSave the selected items on txt file Pin
Strategic_Thinker1-Feb-08 1:11
Strategic_Thinker1-Feb-08 1:11 
GeneralRe: Save the selected items on txt file Pin
Not Active1-Feb-08 2:57
mentorNot Active1-Feb-08 2:57 
GeneralRe: Save the selected items on txt file Pin
Strategic_Thinker1-Feb-08 3:44
Strategic_Thinker1-Feb-08 3:44 
GeneralRe: Save the selected items on txt file Pin
Not Active1-Feb-08 4:07
mentorNot Active1-Feb-08 4:07 
GeneralRe: Save the selected items on txt file Pin
Strategic_Thinker1-Feb-08 4:49
Strategic_Thinker1-Feb-08 4:49 
GeneralRe: Save the selected items on txt file Pin
Not Active1-Feb-08 4:58
mentorNot Active1-Feb-08 4:58 
GeneralRe: Save the selected items on txt file Pin
J4amieC1-Feb-08 5:29
J4amieC1-Feb-08 5:29 
GeneralRe: Save the selected items on txt file Pin
Strategic_Thinker1-Feb-08 5:40
Strategic_Thinker1-Feb-08 5:40 
GeneralRe: Save the selected items on txt file Pin
Not Active1-Feb-08 5:45
mentorNot Active1-Feb-08 5:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.