Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Table cell width
Message
 
 
À
18/04/2003 11:17:00
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00779181
Message ID:
00779223
Vues:
16
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform