Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DataGrid
Message
From
26/08/2005 08:12:33
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, United States
 
 
To
25/08/2005 09:13:52
Keith Payne
Technical Marketing Solutions
Florida, United States
General information
Forum:
ASP.NET
Category:
Other
Title:
Environment versions
Environment:
C# 1.1
Database:
MS SQL Server
Miscellaneous
Thread ID:
01043572
Message ID:
01044253
Views:
9
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform