I have a server side ImageButton, and a server side Button, and then a simple HTML input-type=’button’. Neither the ImageButton nor the plain HTML button are visible, nor the alt text of the ImageButton. However, they are rendered out onto the client side HTML when I inspect it.
Anyone have any ideas?
<asp:ImageButton runat='server' ID='btnCancel' OnClientClick='top.ChaseDialog.hide();' ImageUrl='~/Images/PageControls/pageControls_Delete_sm.gif' AlternateText='xxxxxxxx'></asp:ImageButton>
Hard to say without seeing your full HTML and CSS. A few probable causes:
overflow:hidden;Added: I suggest you use some client-side HTML debugger, like ‘Internet Explorer Developer Toolbar’ for IE or ‘FireBug’ for FireFox.