Is JC doing this?

2 posts, 0 answers
  1. Steve
    Steve avatar
    1851 posts
    Member since:
    Dec 2008

    Posted 13 Jun 2011 Link to this post

    I keep getting my code truncated to new lines...is this a JC thing or something in VS2010?

    It's faily new so I assume JC...if so, how can I find the option to change the behaviour

    foreach (var item in preLoadedItems) {
                    detailsText.AppendLine("<div class='preLoaded_text'>");
                    detailsText.AppendLine("    <h3>This rotation has been preloaded for you</h3>");
                    detailsText.AppendLine(
                        String.Format("<p>You have been placed at {0}</p>",
                                      preLoadedItem.CpsSiteCapacityRule.CpsSiteCapacity.CommonLocation.LocationName));
                    detailsText.AppendLine(
                        String.Format("<p>{0} to {1}</p>",
                                      preLoadedItem.Startdate.ToString("dddd MMMM dd yyyy"),
                                      preLoadedItem.Enddate.ToString("dddd MMMM dd yyyy")));
                    detailsText.AppendLine("</div>");
                }

    I would prefer if lines truncate to a new line every time


    **EDIT**
    I think I found it...is this Word Wrap?
  2. Kaloyan
    Admin
    Kaloyan avatar
    82 posts

    Posted 16 Jun 2011 Link to this post

    Hello Steve,

    You're right, that's definitely the VS2010 Word wrap option (msdn).

    Greetings,
    Kaloyan
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. DevCraft banner
Back to Top