RadMessageBox not centered with user control

4 posts, 0 answers
  1. JulioR
    JulioR avatar
    26 posts
    Member since:
    Dec 2006

    Posted 29 May 2009 Link to this post

    Hi,

    I'm testing the RadMessageBox  and each time I'm calling the show method, the message is appering in the upper left corner of the screen. Reading the help it seems to be centered only for winforms, but is saying nothing about using it in a user control dll development.

    Do you have any idea about how can I solve this problem?

    Thanks & regards

    Julio
  2. Victor
    Admin
    Victor avatar
    1351 posts

    Posted 01 Jun 2009 Link to this post

    Hello JulioR,

    Thank you for writing. Please explain what do you mean by UserControl dll development? It does not matter from where you are calling the message box it always centers itself to the parent form. Also, if possible, please send a small sample application which demonstrates the wrong behavior or list the steps to reproduce it. I am looking forward to your reply.

    Sincerely yours,
    Victor
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. JulioR
    JulioR avatar
    26 posts
    Member since:
    Dec 2006

    Posted 01 Jun 2009 Link to this post

    Hi Victor,

    I found the problem trying to show radmessagebox while executing a second thread process. As you probably know better than me, this is not a good practise due to problems in programm flow. Now when I´m passing all my outputs to the main thread, all messages are centered again and they work great.

    I´m developing a custom user control, which in a certain operation is launching a second thread and executing a couple of sentences in another class. If you include on that code (the second thread code being executed from another class) any radMessageBox, these will not appear in the center.

    Thanks and regards,

    Julio
  5. Victor
    Admin
    Victor avatar
    1351 posts

    Posted 01 Jun 2009 Link to this post

    Hello Julio,

    It is great that you managed to resolve the issue. Please write back if you need further assistance.

    Sincerely yours,
    Victor
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top