Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
WebGrid Questions...
Message
Information générale
Forum:
ASP.NET
Catégorie:
WebForms
Divers
Thread ID:
00722328
Message ID:
00722515
Vues:
14
>The DataGrid will always show just 5 rows because it does not prefetch the data during design time to display. The design time control is just a placeholder. At runtime the grid will expand to the size of the contained data. That is why you can't show just the header. VS .NET doesn't know your datatable is empty.
>

Umm... ok, it sounds like I didn't communicate my problem fully. I understand the design time grid is just psuedo rows. My problem is at run time. In the case that the DataSet I am binding the grid to has 0 rows, only the header shows on the page, which is what I want. The problem is, the height of the header, is the size of the design time grid. I only want the header to be the hight of a single row. If there is one row, the header and row are both the expected height.


BOb
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform