Would it be possible to add other controls like a combobox or list view into the Chat UI? If the user has many choise I wouldn't want to fill the screen with all of the choices.
I know there is the list overlay but I was thinking of just injecting a multi-column combobox to show multiple columns of data to help the user choose easier.
When you need to offer the user a list of options, the ChatListOverlay is the appropriate solution as you can select an item from a predefined list of choices. If you wish to display a RadMultiColumnComboBox you can create a custom ChatListOverlay. a sample approach is demonstrated in the following code snippet:
public RadForm1()
{
InitializeComponent();
CustomBaseChatItemOverlay listOverlay = new CustomBaseChatItemOverlay("List overlay");
DataTable dt = new DataTable();
dt.Columns.Add("Id", typeof(int));
dt.Columns.Add("Name", typeof(string));
for (int i = 0; i < 10; i++)
{
dt.Rows.Add(i, "Item" + i);
}
listOverlay.Mccb.DisplayMember = "Name";
listOverlay.Mccb.ValueMember = "Id";
listOverlay.Mccb.DataSource = dt;
bool showAsPopup = false;
Author author = new Author(Properties.Resources.AndrewFuller, "Andrew");
this.radChat1.Author = author;
ChatOverlayMessage overlayMessage = new ChatOverlayMessage(listOverlay, showAsPopup, author, DateTime.Now);
this.radChat1.AddMessage(overlayMessage);
}
public class CustomBaseChatItemOverlay : BaseChatItemOverlay
{
public CustomBaseChatItemOverlay(string title) : base(title)