I have a grid and one of the cells is set as such
What I am trying to do is set the image source based on a value in the grid at run time.
I assume ItemDataBound is the way to go but how do I get down to the image of the anchor in the item template
<
rad:GridTemplateColumn
AllowFiltering
=
"False"
UniqueName
=
"EditLink"
Groupable
=
"false"
>
<
ItemTemplate
>
<
a
href
=
"EditClient.aspx?ClientID=<%# Eval("
ClientID")%>">
<
img
alt
=
"Edit Client"
border
=
"0"
src
=
""
title
=
"Edit Client"
/>
</
a
>
</
ItemTemplate
>
<
HeaderStyle
Width
=
"20px"
/>
</
rad:GridTemplateColumn
>
What I am trying to do is set the image source based on a value in the grid at run time.
I assume ItemDataBound is the way to go but how do I get down to the image of the anchor in the item template