Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DataGrid
Message
De
25/08/2005 09:13:52
Keith Payne
Technical Marketing Solutions
Floride, États-Unis
 
 
À
24/08/2005 16:01:22
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Versions des environnements
Environment:
C# 1.1
Database:
MS SQL Server
Divers
Thread ID:
01043572
Message ID:
01043823
Vues:
7
>I have a Datagrid on my Asp.net webform. This Datagrid has 1 Hyperlink column. In the grid properties windows I type in a value for the Header Text and I also input an image for the Header Image.
>
>However, when I run the webform, only the image displays in the grid column header but not the text.
>
>How can I get both the image and the text to display in the column header?
>
>Thanks,
>
>Jerry

Jerry,

To put both in the header you will have to change to a templated grid instead of bound columns. Once you do this, you have complete control over what goes into the header, footer, item, alternate item, and edit item cells in the the grid.

Change the grid's AutoGenerateColumns property to false to make it a templated grid. It's going to be more work than an autogenerated grid, but you get more control.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform