Solved

Wrapping in a gridview column when text has no space !

Posted on 2009-04-15
3
679 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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

One of the pain points with developing AJAX, JavaScript, JQuery, and other client-side behaviors is that JavaScript doesn’t allow for cross domain request for pulling content. For example, JavaScript code on www.johnchapman.name could not pull conte…
In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

805 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