If you have a string and you want to load it inside the RadSyntaxEditor control, you can assign the TextDocument object to the Document property of the RadSyntaxEditor control. The TextDocument class exposes 3 constructors. One of them accepts string parameters.
this.radSyntaxEditor1.Document = new TextDocument("My Long String here");
Give this approach a try and let me know if it is working for you.
Hello @Dinko -- i just downloaded the SDK samples as well and the simple examples also don't render. For some context my environment:
Windows 11 VS2022 I do have .NET 7 Preview SDK installed (as well as .NET6)
I am using the NuGet package references.
Dess | Tech Support Engineer, Principal
Telerik team
commented on 31 May 2022, 11:36 AM
Hi, Kobus,
I would like to note that this forum is related to RadSyntaxEditor from the Telerik UI for WinForms suite. SInce you mentioned WPF in the previous replies, feel free to use the appropriate forum for WPF related questions: https://www.telerik.com/forums