Versions des environnements
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement