RadWindow.Alert multi line

2 posts, 0 answers
  1. JAS J
    JAS J avatar
    39 posts
    Member since:
    May 2010

    Posted 13 Sep 2011 Link to this post

    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.

  2. Konstantina
    Konstantina avatar
    2332 posts

    Posted 15 Sep 2011 Link to this post

    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,
    the Telerik team

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

Back to Top