DataGrid Image Link

J

Joey

Guys,

I am using multiple links in my datagrid cel which is a
template column (As shown by martin in my previous post)
but I am also adding an image in the anchor tag.

I can see the image at design time but not when the page
is loaded.

Can someone please tell me what I am doing wrong

Regards,
 
A

Atul Mittal

Hi joey
u can do so by editing the html
make the image as a link ... in the html

<asp:TemplateColumn HeaderText="Submitter">
<ItemTemplate>
<img src='\images\>'>
</ItemTemplate>
</asp:TemplateColumn>
Regards
Atul Mittal
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,677
Members
48,796
Latest member
Greg L.

Latest Threads

Top