• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1789
  • Last Modified:

Multiline textbox in BoundField (DetailsView)

How can I have a wrapping-enabled multiline textbox in DetailView's BoundField ? I have tried lot's of different combinations (for e.g ItemStyle wrap="true" inside BoundField) but non of that seems to work.
As default only the single line is generated but for example I have Solutions -field which needs this functionality. Writing all to single line is just pain.

Note: I cannot use EditTemplate functionality to add multiline.
<asp:boundfield DataField="solution" HeaderText="solution" SortExpression="solution">

Open in new window

  • 2
1 Solution
Anurag ThakurTechnical ManagerCommented:
can you use a TemplateField and ItemTemplate to add a multi line text box in read only state and set the multiline to true and thus it wil wrap te ext as desired
csaexpertsAuthor Commented:
no ragi.. i dont want to use Template field and itemtemplate....I want to add multiline in  boundfield...
csaexpertsAuthor Commented:
I was able to resolve the issue...Thanks anyways
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now