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

RadWindow.Alert multi line

1 Answer 177 Views
Window
This is a migrated thread and some comments may be shown as answers.
JAS J
Top achievements
Rank 1
JAS J asked on 13 Sep 2011, 06:15 AM
Is there a way to make the alert's message area be multiline?

RadWindow.Alert("Line 1 \r\n Line 2");

does not do it.

thanks,
Jas

1 Answer, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 15 Sep 2011, 11:51 AM
Hello Jas J,

You can try the following:
RadWindow.Alert(new TextBlock { Text = "Long text goes here", TextWrapping = TextWrapping.Wrap });

In that way the TextBlock will be wrapped and you will be able to rearrange the text to fit your needs.

Hope this helps.

Kind regards,
Konstantina
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
Window
Asked by
JAS J
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Share this question
or