Rendre une cellule invisible

cs_flab Messages postés 11 Date d'inscription mardi 1 juin 2004 Statut Membre Dernière intervention 22 septembre 2005 - 30 juin 2005 à 16:02
sebmafate Messages postés 4936 Date d'inscription lundi 17 février 2003 Statut Membre Dernière intervention 14 février 2014 - 30 juin 2005 à 16:24
Comment rendre une cellule invisible en sachant que la propriété visible herite de control




protected virtual void CreateComponents()


{


Table maintable;


TableRow mainline;


TableCell cell;




maintable = new Table();


maintable.Width = new Unit(100, UnitType.Percentage);


this.Controls.Add(maintable);


mainline = new TableRow();




cell = new TableCell();


cell.HorizontalAlign = HorizontalAlign.Left;


cell.VerticalAlign = VerticalAlign.Middle;


cell.Visible = ?????????????


mainline.Cells.Add(cell);


cell.Controls.Add(this.m_tel);


}

1 réponse

sebmafate Messages postés 4936 Date d'inscription lundi 17 février 2003 Statut Membre Dernière intervention 14 février 2014 37
30 juin 2005 à 16:24
cell.Visible = false; ?


<HR>
Sébastien FERRAND

Blog : http://blogs.developpeur.org/sebmafate
0
Rejoignez-nous