Unplanned
Last Updated: 04 Dec 2024 14:52 by Martin Ivanov
Martin Ivanov
Created on: 04 Dec 2024 14:52
Category: Chat
Type: Feature Request
0
Chat: Allow setting the InputBoxText property

Currently, the InputBoxText property of the RadChat control has a read-only purpose. It is updated only when you update the text via the UI. However, the property has also a public setter which implies that it can be set, but this doesn't work. 
Allow setting the InputBoxText property, which should update the text in the input TextBox.

For the moment, you can get the RadWatermarkTextBox element using the FindChildByType<T> method and set its Text property manually.

var textBox = this.chat.FindChildByType<RadWatermarkTextBox>();
textBox.SetCurrentValue(RadWatermarkTextBox.TextProperty, "new text")

0 comments