Little strange bug with RadMessageBox

4 posts, 0 answers
  1. Fabien
    Fabien avatar
    43 posts
    Member since:
    Sep 2008

    Posted 09 Mar 2009 Link to this post

    Hi,

    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


  2. Martin Vasilev
    Admin
    Martin Vasilev avatar
    1061 posts

    Posted 25 Mar 2009 Link to this post

    Hi Fabien,

    First, I would like to apologize for the delay of my answer but we experienced some issues with our Support Ticketing System which prevented us from seeing some tickets and forum topics sent by our customers.

    As to the question, I have not managed to reproduce the described behavior. It seems very strange and I cannot find any reason for this. Since it could be caused from something specific in your application, please send me a small example project that demonstrates it. This will help me to investigate the case and provide further assistance.

    I am looking forward to your reply.

    Best wishes,
    Martin Vasilev
    the Telerik team

    Check out Telerik Trainer , the state of the art learning tool for Telerik products.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Fabien
    Fabien avatar
    43 posts
    Member since:
    Sep 2008

    Posted 25 Mar 2009 Link to this post

    Hi,

    thanks for your response.

    I can't provide small example because I don't have enough time to do it.

    Anyway, this issue happened only :
    - in debug mode (as I know)
    - with huge screens

    I use Microsoft Enterprise Library with my project and when I save a gridview with a lot of rows, sometime there is this bug.

    It's like if text to display is null or theme name is null.
    The text to display change, and it's a "object is null or...."

    Best regards,

    Fabien
  5. Martin Vasilev
    Admin
    Martin Vasilev avatar
    1061 posts

    Posted 30 Mar 2009 Link to this post

    Hello Fabien,

    Thank you for getting back to me.

    We will investigate the described further. Meanwhile, we will highly appreciate any additional details that you could share with us in the feature.

    Do not hesitate to contact me again if you have other questions. 

    Sincerely yours,
    Martin Vasilev
    the Telerik team

    Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Back to Top