I am using an asp.net image button control. On page load I have the button set to:
imgbtn.visible = false;
It’s not showing the image. However it still displays a gray border rectangle where the button should be. I have also tried setting a style of
border : none;
It still shows a grey rectangle where the button should be.
Is this normal?
Is there a work around?
If you are hiding the image using javascript, try setting the css style
displayto'none':