Hi guys,
how would I translate the functionality of this anchor:
<a style="font-size: small;" href="javascript:void(0)" onclick="document.getElementById('info').style.display='block';document.getElementById('fade').style.display='block';return false;">Blahblah</a>
To an asp.net imagebutton control?
This is what I have come up with:
<asp:ImageButton ID="ImgBtn" runat="server" ImageUrl="~Images/Go.gif"
OnClientClick="<script type='text/javascript'>document.getElementById('info').style.display='block';document.getElementById('fade').style.display='block';return false;</script>" />
But its not coming out the same way. Can anyone help me out?