?
Solved

Multiline textbox in BoundField (DetailsView)

Posted on 2009-05-18
3
Medium Priority
?
1,763 Views
Last Modified: 2012-05-07
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">
</asp:boundfield>

Open in new window

0
Comment
Question by:csaexperts
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 26

Accepted Solution

by:
Anurag Thakur earned 1500 total points
ID: 24414352
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
0
 

Author Comment

by:csaexperts
ID: 24414672
no ragi.. i dont want to use Template field and itemtemplate....I want to add multiline in  boundfield...
0
 

Author Comment

by:csaexperts
ID: 24415198
I was able to resolve the issue...Thanks anyways
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …

800 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question