Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Figuring out what each cell means in GridView
Message
 
 
To
31/07/2008 20:30:59
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
C# 3.0
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01335562
Message ID:
01335716
Views:
15
>>Nice idea, thanks a lot. For now I don't need this anymore, since I was able to achieve my goal differently.
>
>And how did you accomplish it? Others might like to know for future reference ...
>
>~~Bonnie
>
>
I put
for (int i = 4; i < e.Row.Cells.Count; i++) 
{

e.Row.Cells[i].Attributes.Add("style", "word-wrap:break-word;width:70px"); 
} 
and in ASCX
ControlStyle-Width ="70px"
http://forums.asp.net/t/1298295.aspx

and it seems to fix the problem.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform