Home  /  Questions  /  Question

0   0
Jan 02, 2016

How do you Search within a RichTextBox instead of from a TextBox-VB.NET

What I can do is to highlight a word in a RichTextBox, and popup a contextmenu. The suggestions come from the dictionary. But I first have to press the Find button, which checks a textBox with the word in order to find it in the RichTextBox, and for the menu to appear. That is the only thing I can do for now. How can I search within the RichTextBox only?

Check the link for my dictionary

508   99.9
Jan 09, 2016
I presume this is on the browser?

If so, you'll need to use JavaScript and Ajax to get the values from the Dictionary on the server. 
The exact code very much depends on the Rich Text Editor you're using, i.e. how to interact with the text in the editor.

Hope this gets you started.