Group: StrataFrame Developers
Posts: 3K,
Visits: 2.5K
|
You'll have to override the OnKeyDown method of the control and search do your searching based upon the current text plus the new character. If a match is found, then narrow your list and allow the OnKeyDown to proceed. However, if a match is not found, then set the appropriate e.Handled and e.SuppressKeyPress properties on the event args and bail (don't even call the base.OnKeyDown() because you don't want the event to be raised because you don't want to allow the keypress).
|