Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DataGrid
Message
De
26/08/2005 08:12:33
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, États-Unis
 
 
À
25/08/2005 09:13:52
Keith Payne
Technical Marketing Solutions
Floride, É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:
01044253
Vues:
7
Keith,

I always set the AutoGenerateColumns property to false in my DataGrids. And when I am in the Column properties dialog for my grid, I can input the Header Text and Header Image, but when I run the Webform, only the Header Image displays.

Is there an additonal step I have to take?

Thanks,

Jerry



>>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