Solved

Wrapping in a gridview column when text has no space !

Posted on 2009-04-15
3
681 Views
Last Modified: 2012-05-06
I have a gridview with no header/footer, just rows - row wrap set to true - there is a databound column with a fixed width gets value without spaces, so it is not wrapping; suggestion on how to wrap this column values so that my grid stays aligned, thanks.
send drop a few lines of snippets in c#.
0
Comment
Question by:ivan_belal
  • 2
3 Comments
 
LVL 14

Accepted Solution

by:
amar31282 earned 500 total points
ID: 24150109
Sorry,
values without spaces no wrapping possible at all.
0
 

Author Comment

by:ivan_belal
ID: 24150370
If I do replace column value after x number of chars with < /br > ; but do not know if code like this will work or if this can be bound in a grid column. Ideas ? Thru a method ??
0
 
LVL 14

Expert Comment

by:amar31282
ID: 24164537
wrong question but right answer :)
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
insert value of checklistbox checked 4 38
Finding Events logs for IIS website that restarts 2 19
Running powershell scripts from ASP.NET 6 54
Data organization issue 7 36
A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

679 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