Completed
Last Updated: 08 Jun 2016 09:54 by ADMIN
ADMIN
Dess | Tech Support Engineer, Principal
Created on: 29 Apr 2016 06:16
Category: Form
Type: Bug Report
0
FIX. RadMessageBox - details text is cut off with multiple lines of text
To reproduce:

private void radButton1_Click(object sender, EventArgs e)
{ 
    StringBuilder detailsText = new StringBuilder();
    for (int i = 0; i < 10; i++)
    {
        detailsText.AppendLine("Line" + i);
    }
    detailsText.AppendLine("END");

   RadMessageBox.Show("Message", "Caption Text", MessageBoxButtons.AbortRetryIgnore, detailsText.ToString());
}

Workaround: enlarge the details section in order to fit the text: 

 FieldInfo fi = typeof(RadMessageBoxForm).GetField("detailsSectionHeight", BindingFlags.NonPublic| BindingFlags.Instance);
fi.SetValue(RadMessageBox.Instance,200); 
Attached Files:
0 comments