-
1 Attachment(s)
Auto Complete Combo
Hi all,
Attached here is a C# Test Project and Control Project. Control is basically the Auto Complete Multi Line Combobox control. When user selected an item from the drop down which is with carriage return, I need to replace carriage return with a single space.
Any ideas ??
Thanks.
-
Re: Auto Complete Combo
Is this what you are looking for?
Code:
string text = textBox5.Text;
text = text.Replace("\r\n"," ");
textBox5.Text = text;
I have tried with a multiline Textbox and it worked!
Maybe you need to ad
using System.Text.RegularExpressions;
to your code file!