aasaif00
asked on
Changing a imageurl in a datagrid when clicked on
I have a datagrid column where an imagebutton exists. I want to be able to when a user clicks on that image button I change the imageurl to a different image. I do not know how to declare in the code behind file a imagebutton in a datagrid.
A single image button? Or multiples? Static?
ASKER
a single image button which contains a imageurl set to a image in my project
it belongs to a column in a datagrid
it belongs to a column in a datagrid
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
However it is possibe to find a imagebutton control within a Datagrid right, if i can do that it would be so much easier
ASKER
ImageButton Btn1 =(ImageButton)e.Item.FindC ontrol("Im ageButton1 ");
i got it thanks
i got it thanks