Go Back   Velocity Reviews > Newsgroups > ASP Net
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

ASP Net - DataGrid Header Image

 
Thread Tools Search this Thread
Old 03-11-2005, 06:04 PM   #1
Default DataGrid Header Image


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
  Reply With Quote
Old 03-12-2005, 08:25 AM   #2
=?Utf-8?B?RG90TmV0SmVyb21l?=
 
Posts: n/a
Default RE: DataGrid Header Image
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.
>
>



=?Utf-8?B?RG90TmV0SmVyb21l?=
  Reply With Quote
Old 03-12-2005, 02:12 PM   #3
Patrick Olurotimi Ige
 
Posts: n/a
Default RE: DataGrid Header Image
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!


Patrick Olurotimi Ige
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cisco PIX 535 No bootable image in flash Dmitriy_K Hardware 1 11-22-2006 04:51 AM
DeepBurner Pro - IMAGE? Terry Pinnell DVD Video 2 04-28-2006 08:44 AM
Image acquires Criterion Goro DVD Video 2 08-04-2005 02:28 AM
Advantage of 4:3 hdtv over old 4:3 Adam Smith DVD Video 17 12-15-2003 07:25 PM
New Releases: Short Circuit, Kung Fu Series, Image Horror: Updated complete downloadbable R1 DVD DB & info lists Doug MacLean DVD Video 0 12-13-2003 05:31 AM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46