Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
40
xamWebTree and xamWebComboEditor
posted

Is there any example to use xamWebTree with xamWebComboEditor ?

I try to put XamWebComboEditor (autocomplete without popup) into a node of xamWebTree . After set ItemSource within XamWebComboEditor's Loaded function. I can't type into XamWebComboEditor (exist in node of xamWebTree)

Please tell me the solution for this situation.

Thanks.

Parents
No Data
Reply
  • 6759
    Offline posted

    Hello dotri84,

    I managed to build a scenario like the one you've described and it is working as expected. Here is the xaml I used :

    <ig:XamTree x:Name="MyTree">
    <ig:XamTree.HierarchicalItemTemplate>
    <ig:HierarchicalDataTemplate ItemsSource="{Binding Products}">
    <DataTemplate>
    <TextBlock Text="{Binding CategoryName}" />
    </DataTemplate>
    <ig:HierarchicalDataTemplate.ItemTemplate>
    <DataTemplate>
    <StackPanel Orientation="Horizontal">
    <TextBlock Text="{Binding ProductName}" />
    <ig:XamComboEditor Width="200"
                        AutoComplete="True"
                        EmptyText="Choose Category"
                        IsEditable="True"
                        DisplayMemberPath="CategoryName"
                        Margin="15,0,0,0"
                        Loaded="XamComboEditor_Loaded"
                        OpenDropDownOnTyping="False"
                        MaxDropDownHeight="0" />
    </StackPanel>

    </DataTemplate>
    </ig:HierarchicalDataTemplate.ItemTemplate>

    </ig:HierarchicalDataTemplate>
    </ig:XamTree.HierarchicalItemTemplate>

    </ig:XamTree>

    If this is not your case please a sample or more detailed description of the issue.

    Regards,
Children
No Data