This is a migrated thread and some comments may be shown as answers.
Radmessage Box
2 Answers 45 Views
This is a migrated thread and some comments may be shown as answers.
Allwin
Top achievements
Rank 1
Allwin asked on 28 Feb 2011, 11:51 PM
Hi Sir,

          In my project i used radmessage box. The alignment  of messages is not possible by me when i used rad message box. The size of  radmessage box  is large. But my radmessagebox text is very short. So  viewing is not good. If any option provide for user controls in rad message boxes. Send any sample vb.net project is available for this forms means please send to me.
 

Thanks
Allwin

2 Answers, 1 is accepted

Sort by
0
Emanuel Varga
Top achievements
Rank 1
answered on 01 Mar 2011, 02:58 PM
Hello Allwin,

If you just want to align your text you should consider just padding your text, something like this:
CS:
RadMessageBox.Show("Some text".PadLeft(30));
VB:
RadMessageBox.Show("Some text".PadLeft(30))

Hope this helps, if you have any other questions or comments, please let me know,

Best Regards,
Emanuel Varga
Telerik WinForms MVP
0
Martin Vasilev
Telerik team
answered on 03 Mar 2011, 03:12 PM
Hi Allwin,

In addition to Emanuel's suggestions I would like to ask you if you can send some sample code to allow us to reproduce and investigate the described size issues. In general RadMessageBox determines its size automatically and it should work for any text length.

All the best,
Martin Vasilev
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Asked by
Allwin
Top achievements
Rank 1
Answers by
Emanuel Varga
Top achievements
Rank 1
Martin Vasilev
Telerik team
Share this question
or