Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

How to highlight the next or previous search result in the treelist

$
0
0
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



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.


Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>