![]() |
|
|
|
#1 |
|
I would like to place an image in my DataGrid's header. Code:
<asp:TemplateColumn HeaderText="Sample"> <ItemTemplate> <asp:HyperLink id="Sample" runat="server" text="Listen" NavigateURL='<%# Container.DataItem("SampleURL") %>' /> </ItemTemplate> </asp:TemplateColumn> I would like to place an icon next to where it says "Sample." Is this possible. Any help is appreciated. Sparky Arbuckle |
|
|
|
|
#2 |
|
Posts: n/a
|
Hi,
Inplace of "HeaderText" you can use "HeaderImageUrl" to display a Image in the column header. Cheers, Jerome. M "Sparky Arbuckle" wrote: > I would like to place an image in my DataGrid's header. Code: > > <asp:TemplateColumn HeaderText="Sample"> > <ItemTemplate> > <asp:HyperLink id="Sample" runat="server" text="Listen" > NavigateURL='<%# Container.DataItem("SampleURL") %>' /> > </ItemTemplate> > </asp:TemplateColumn> > > I would like to place an icon next to where it says "Sample." Is this > possible. Any help is appreciated. > > |
|
|
|
#3 |
|
Posts: n/a
|
Is it possible to have an image and a text together displayed?
*** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
|