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

text box with enabled enter (newline)

2 Answers 46 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
lina fetisova
Top achievements
Rank 1
lina fetisova asked on 26 May 2010, 12:55 PM
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 Answers, 1 is accepted

Sort by
0
Pavel Pavlov
Telerik team
answered on 26 May 2010, 01:01 PM
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.
0
lina fetisova
Top achievements
Rank 1
answered on 27 May 2010, 05:00 AM
Pavel, thank you very much!
Tags
General Discussions
Asked by
lina fetisova
Top achievements
Rank 1
Answers by
Pavel Pavlov
Telerik team
lina fetisova
Top achievements
Rank 1
Share this question
or