Hi there, You cannot use an inline expression to call a method and assign the value to the property of a web control. Instead, you should use a data binding expression:
<asp:ImageButton id="productsButton" runat="server" ImageUrl='<%# getImage("products") %>'></asp:ImageButton>
and remember to call the DataBind method in the Page_Load for example:
productsButton.DataBind();