This is a migrated thread and some comments may be shown as answers.

RadMessageBox Text Length Problem

9 Answers 103 Views
Buttons, RadioButton, CheckBox, etc
This is a migrated thread and some comments may be shown as answers.
Fadi
Top achievements
Rank 1
Fadi asked on 20 Apr 2013, 07:27 AM
When i have a medium length text to display in a MessageBox, the end of the text is being truncated. 
Such in the attached image file...

how to solve it, and how to give a theme into this messagebox?
Thanks in advance

9 Answers, 1 is accepted

Sort by
0
Accepted
Emanuel Varga
Top achievements
Rank 1
answered on 08 May 2013, 09:15 PM
Hello Fadi,

The theming of the messagebox can be achieved by setting a default theme for the entire application, please take a look at the online help page.

For the  text issues, I've never encountered before, could you provide a sample?

Best Regards,
Emanuel Varga
0
Jason Parrish
Top achievements
Rank 1
answered on 22 Jul 2013, 08:50 PM
I noticed this happens when the radmessagebox is called back to back with different length messages.  Very odd...might open a ticket.

RadMessageBox.Show("Do you wish to save your changes to this expression?", "Save", MessageBoxButtons.YesNo, RadMessageIcon.Question)
 
RadMessageBox.Show("Are you sure?", "Save", MessageBoxButtons.YesNo, RadMessageIcon.Question)
                
RadMessageBox.Show("I do not think that is what you want to do.  Can you see this?", "Save", MessageBoxButtons.YesNo, RadMessageIcon.Question)
0
Fadi
Top achievements
Rank 1
answered on 23 Jul 2013, 12:30 PM
Exactly, as Jason Parrish mentioned below.
0
Jason Parrish
Top achievements
Rank 1
answered on 23 Jul 2013, 01:55 PM
just tested with Q2 2013 release and the bug appears to have been fixed.  It does occur in Q1 2013.
0
Stefan
Telerik team
answered on 25 Jul 2013, 12:14 PM
Hello,

I can confirm that in Q1 2013 SP1 we have introduced a fix for the issue. Afterwards we have received reports that some cases are not handled and in Q2 2013 we addressed them too, so in the latest release everything should be working just fine.
 
Regards,
Stefan
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINFORMS.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Paul
Top achievements
Rank 1
answered on 21 Apr 2015, 03:47 PM
HI Stefan, just so you know, this is still a problem in Q1 2015. My text gets truncated after only 37 characters.
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 22 Apr 2015, 08:29 AM
Hello Paul,

Thank you for writing.

It seems that you use the TelerikMetroTouch theme. However, when showing a RadMessageBox with a long text, the text is displayed correctly on my end with the specified version 2015.1.225. Please refer to the attached screenshot. I have attached my sample project. Could you please have a look into it and describe how it differs from your real setup? It would be greatly appreciated if you specify the exact steps how to reproduce the problem with the attached sample project. Thus, we would be able to investigate the precise case and assist you further. Thank you in advance.

I am looking forward to your reply.

Regards,
Dess
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
0
Paul
Top achievements
Rank 1
answered on 22 Apr 2015, 02:16 PM

Hi Dess,

Thank you your sample code. I found the difference: you have the telerikMetroTouchTheme1 control placed on the form at design time. So when I did this, the message box displayed as expected! Yeay!

I was not doing this originally and was only calling ThemeResolutionService.ApplicationThemeName = "TelerikMetroTouch" after the form's InitializeComponent() function call.

So thank you for you help, Dess. :)

P.S. sorry for the duplicate tickets. We had multiple people searching for a solution.

0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 27 Apr 2015, 07:33 AM
Hello Paul,

Thank you for writing back.

I am glad that the problem you were facing is now resolved.

You can apply a theme to the entire application by setting the ThemeResolutionService.ApplicationThemeName property to the desired theme. However, before that have to drop the theme component on the form (e.g. TelerikMetroTouchTheme) or create an instance of the desired theme programmatically. In both cases, the RadMessageBox is appears as expected.

If you have any additional questions, please let me know.

Regards,
Dess
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
Tags
Buttons, RadioButton, CheckBox, etc
Asked by
Fadi
Top achievements
Rank 1
Answers by
Emanuel Varga
Top achievements
Rank 1
Jason Parrish
Top achievements
Rank 1
Fadi
Top achievements
Rank 1
Stefan
Telerik team
Paul
Top achievements
Rank 1
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or