Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Table cell width
Message
From
18/04/2003 12:30:36
 
 
To
18/04/2003 11:17:00
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00779181
Message ID:
00779223
Views:
17
I did try that but to no avail. I even tried to increase the number to 300, 500, and even 10000 but it does not make a difference. I don't get an error message but the table cell width does not change with changes of the number.
Thank you for your help.
>Try:
>
>// Create a new cell and add it to the row.
>TableCell tCell = new TableCell();
>tCell.Text = "Row " + rowCtr + ", Cell " + cellCtr;
>
>tCell.Width = Unit.Pixel(200);  // 200 is desired number of pixels
>                                // You can use also Percentage and Point static methods
>
>tRow.Cells.Add(tCell);
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform