Hi,
I have a requirement to show/hide a button. But when I tried to hide the button from C# code behind page. Still a small rectangle is displayed on the screen. below is the code for that.
btn_Cancel.Attributes["style"]="visibility:hidden;display:none";
But it still displays small rectangular box. This is happening when I include FormDecorator in my page. When I looked at the style of that rectangular box using ie developer tool I see a style rfdSkinnedButton. how can I achieve this. I have to use Form decorator in my master page.
Please help me on this ASAP.
Thanks in advance.
I have a requirement to show/hide a button. But when I tried to hide the button from C# code behind page. Still a small rectangle is displayed on the screen. below is the code for that.
btn_Cancel.Attributes["style"]="visibility:hidden;display:none";
But it still displays small rectangular box. This is happening when I include FormDecorator in my page. When I looked at the style of that rectangular box using ie developer tool I see a style rfdSkinnedButton. how can I achieve this. I have to use Form decorator in my master page.
Please help me on this ASAP.
Thanks in advance.