Hi,
I created a static class named GlobalMessageBox.
Inside this class, I set ThemeName for all RadMessageBox.Show
For example,
For the theme, I setted a const like this,
In previous version (I have the last one available), it worked. Now, sometime, it crash. (for example, in a form with a huge gridview).
I found a way to "patch" this with :
This is really strange. If somebody can explain me.
Best regards,
Fabien
I created a static class named GlobalMessageBox.
Inside this class, I set ThemeName for all RadMessageBox.Show
For example,
| /// <summary> |
| /// Displays RadMessageBox with specified text. |
| /// </summary> |
| /// <param name="text">The text to display in the RadMessageBox.</param> |
| /// <returns>One of the <see cref="T:System.Windows.Forms.DialogResult"></see> values</returns> |
| public static DialogResult Show(string text) |
| { |
| RadMessageBox.SetThemeName(_theme); |
| return RadMessageBox.Show(text); |
| } |
For the theme, I setted a const like this,
| private const string _theme = "Telerik"; |
In previous version (I have the last one available), it worked. Now, sometime, it crash. (for example, in a form with a huge gridview).
I found a way to "patch" this with :
| private static string _theme = "Telerik"; |
This is really strange. If somebody can explain me.
Best regards,
Fabien