dodgerfan
asked on
ASP.Net Image alternate text
I have an asp.net page that displays a grid. For each record an image is shown based on the current status of the record. The status is a field in the table the grid is built from. I want the alternate text to display for the image based on the current status. So I have 10 status possibilities, 1-10. I want the text to change based on the status. 1 is open, 2 is working, 3 is returned, on down the line. What is the best way to do this?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
got it, thanks.
ASKER
AlternateText='<%# Eval("StatusID") %>'
shows the number associated with the record for status. How can I get it to show the text associated with the number if the text does not exist as part of the datasource? Is there an example out there of doing that?