Hi I have a problem when adding the radChat1 tool
Pressing the Send Message button shows this
An unhandled exception of type 'System.ArgumentNullException' occurred in Telerik.WinControls.UI.dll
Additional information: The Author property has to be set to a valid instance when AutoAddUserMessages is set to true.
5 Answers, 1 is accepted
0
Accepted
Hello Haider,
You need to assign a valid Author. Here is an example:
I hope this will be useful. Let me know if you have additional questions.
Regards,
Dimitar
Progress TelerikRadChat for Winforms
You need to assign a valid Author. Here is an example:
radChat1.Author =
new
Telerik.WinControls.UI.Author(
image1
,
"Author1"
);
I hope this will be useful. Let me know if you have additional questions.
Regards,
Dimitar
Progress TelerikRadChat for Winforms
0
Haider
Top achievements
Rank 1
answered on 02 Oct 2018, 01:16 AM
Hello
https://e.top4top.net/p_1004i8tka1.gif
0
0
Haider
Top achievements
Rank 1
answered on 04 Oct 2018, 02:54 AM
Thank you, the issue has been resolved
I have another question how to change icon the button of toolbar
I have another question how to change icon the button of toolbar
0
Hi Haider,
The following snippet shows how you ca n set the image (by default the button shows text):
Do not hesitate to contact us if you have other questions.
Regards,
Dimitar
Progress TelerikRadChat for Winforms
The following snippet shows how you ca n set the image (by default the button shows text):
radChat1.ChatElement.ShowToolbarButtonElement.Text =
""
;
radChat1.ChatElement.ShowToolbarButtonElement.Image = Image.FromFile(@
"C:\img\delete.png"
);
Do not hesitate to contact us if you have other questions.
Dimitar
Progress TelerikRadChat for Winforms