text box with enabled enter (newline)

3 posts, 0 answers
  1. lina fetisova
    lina fetisova avatar
    110 posts
    Member since:
    Apr 2010

    Posted 26 May 2010 Link to this post

    Good day!
    Please tell me how to enable enter click to make a new line in text box, which is rather heiht?
    Or what control should I use to have something like textarea in html?
  2. Pavel Pavlov
    Admin
    Pavel Pavlov avatar
    2039 posts

    Posted 26 May 2010 Link to this post

    Hello lina fetisova,

    You can place a regular TextBlock control inside the Cell using the GridViewDataColumn.CellTemplate property . Be sure to set the AcceptsReturn of the text box property to true.

    Greetings,
    Pavel Pavlov
    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. lina fetisova
    lina fetisova avatar
    110 posts
    Member since:
    Apr 2010

    Posted 27 May 2010 Link to this post

    Pavel, thank you very much!
Back to Top