This example demonstrates how to implement a search functionality like in Opera using the ButtonEdit editor.
![]()
To use this solution in your application, execute the following steps:
1. Drop the FindHelper component onto the target form.
2. Assign a TreeList to the FindHelper.TargetControl property.
3. Assign a required ButtonEdit to the helper's SearchControl property.
![]()
See also:
ButtonEdit
Tree List
How to highlight the next or previous search result in the grid
Added By: Michael Banucu at: 9/19/2016 5:34:01 AM Could you please upload the xml source loaded in line "dataSource.ReadXml(Directory.GetParent(Directory.GetCurrentDirectory()).Parent.FullName + @"\Contacts.xml");"?
Added By: Alisher (DevExpress Support) at: 9/19/2016 6:59:39 AM
To use this solution in your application, execute the following steps:
1. Drop the FindHelper component onto the target form.
2. Assign a TreeList to the FindHelper.TargetControl property.
3. Assign a required ButtonEdit to the helper's SearchControl property.
See also:
ButtonEdit
Tree List
How to highlight the next or previous search result in the grid
Question Comments
Added By: Michael Banucu at: 9/19/2016 5:34:01 AM Could you please upload the xml source loaded in line "dataSource.ReadXml(Directory.GetParent(Directory.GetCurrentDirectory()).Parent.FullName + @"\Contacts.xml");"?
Added By: Alisher (DevExpress Support) at: 9/19/2016 6:59:39 AM
Hello Michael,
This file is available in the downloaded example. In any case, you can download it from the following link: Contacts.xml
Let me know if you have additional questions.