Search in TextEdit Control Devexpress vb.net -
there 2 controls in form gridcontrol , textedit control. have bulk data of product names. need write 15 20 product names in single textedit control separating them spaces. when type in textedit first product name can find correctly first product name in gridcontrol gridview1.applyfindfilter("someproductname")
. when type second product name includes previous product name in query need previous product name automatically remove query pressing space key not textedit.
you use search on last term:
public sub applyfindfiltertolastterm(terms string) dim lastterm = terms.split(" "c).last applyfindfilter(lastterm) end sub
and call each time user enters space handling keydown
event
Comments
Post a Comment