In my DataGrid event OnItemDataBound<BR><BR>When I try this:<BR><BR>e.Item.FindControl("imgRight").ImageURL = "images/anon.jpg"<BR><BR>I get this<BR><BR>'ImageURL' is not a member of 'System.Web.UI.Control'.<BR><BR>Pretty simple. My problem is i need to access this property in the OnItemDataBound of the dataGrid.<BR><BR>Can I cast this to a Image control ?<BR><BR>I tried to declare an image control and then do a <BR>imgControl = e.Item.FindControl("imgRight")<BR>imgControl.ImageURL = "images/anon.jpg"<BR><BR>but when i do the second line it say that the object as no instance <BR><BR>Any idea ?You need to cast the returned control to System.Web.UI.WebControls.Image<BR>Looks like you are using VB.net so it would be<BR>CTYPE(e.Item.FindControl("imgRight"), System.Web.UI.WebControls.Image)