Click here to Skip to main content
15,898,134 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello Experts,

I have a gridview that shows few columns like UserID,TaskID,Task,ReminderDate,Submit.
It is good to show gridview whenevr the Task contains less characters..

If there are more no of characters in Task field then the structure of the gridview is changing(height and width which should no0t happen).

please help me to solve this issue
Posted
Updated 11-Aug-13 21:20pm
v2

Hello

Set to ItemStyle Property
Like below

*<<ItemStyle Wrap="true" Width="100px" >
 
Share this answer
 
HI,

You can use the word-wrap property to the column in the style.

word-wrap: break-word;


Refer the following link:

CSS word-wrapping in div

This will help you.

Thanks
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900