Hey,
Wow, you go away for a couple of hours, and come back, and everything is fixed. Glad to hear that you got this working!!
Bear in mind that this:
Is an alternative to the FindControl method that I recommended earlier.Code:ImageButton imgButton = ( ImageButton ) e.Row.Cells [ 0 ].Controls [ 0 ];
Also, using this approach:
Is not something that I would recommend. Instead, I would recommend that you continue to use the RowDataBound method, find the ImageButton control, and then set the ImageUrl property.Code:ImageUrl='<%# Eval("PictureURL") %>'
Gary





Reply With Quote