Completed
Last Updated: 19 Mar 2020 14:37 by ADMIN
Release R2 2020 (LIB 2020.1.323)
Giancarlo
Created on: 04 Mar 2020 14:55
Category: MessageBox
Type: Bug Report
0
RadMessageBox: Setting UseCompatibleTextRendering to false lead to StackOverFlowException

when set RadMessageBox.UseCompatibleTextRendering = false;

at runtime is generated System.StackOverflowException. 

To workaround:

private void RadForm1_Load(object sender, EventArgs e)
{

    foreach (Control control in RadMessageBox.Instance.Controls)
    {
        RadControl radControl = control as RadControl;
        if (radControl != null)
        {
            radControl.UseCompatibleTextRendering = false;
        }

    }
}

2 comments
ADMIN
Nadya | Tech Support Engineer
Posted on: 09 Mar 2020 12:34

Hello Giancarlo,

I am glad that the suggested solution works fine for you. We will do our best to introduce a fix in our next release. 

Do not hesitate to contact us if you have other questions.

Regards,
Nadya
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Giancarlo
Posted on: 05 Mar 2020 08:01

ok resolved.

thank you very much, but I hope the bug on the property will be corrected.

best regard

Giancarlo