<asp:ImageButton runat="server" ID="HidingButtonId"
Height="20px" Width="50px" Font-Size="Small" Text="Toggle"
style="position:absolute; top:100px;right:10px;"
ToolTip="Show or hide the controls for report generating" ImageUrl="~/images/butToggle.gif"/>
<script type="text/javascript"> $(function() { $("#ctl00_m1c_HidingButtonId").toggle(function() { $(".CssClassForElementsToHide").hide(500); }, function() { $(".CssClassForElementsToHide").show(500); }); }); </script >
No comments:
Post a Comment
- the first minus - Comments have to be moderated because of the spammers
- the second minus - I am very lazy at moderating comments ... hardly find time ...
- the third minus - Short links are no good for security ...
- The REAL PLUS : Any critic and positive feedback is better than none, so your comments will be published sooner or later !!!!