|
switch a .gif image in asp.net datagrid
quick question for all you datagrid gurus out there.
ive got a button column that runs a procedure based on the e.item.cells(2)
of another column.
that other column basically is a YES / NO Column.
and on the button column im using a .gif image.
is it possible to switch out the .gif image as i click and run that procedure that changes the yes to a no and visa versa.
im thinking this cant be done since the path of the button image is basically hard coded in the Text Property of the Button column itself.
code is below
thanks for any help
<asp:ButtonColumn ButtonType="LinkButton" Text="<img src=Images/Enable.gif border=0>" HeaderText="Enable" CommandName="Enable"></asp:ButtonColumn>
|