Code implementation like below [wrapping controls within control] enabled user to control the image size because it is an individual tag. If we need to hide the link base on certain condition,simply set the visibility of
"linkNewEmail" to false. Whole hyperlink+image+label will be invisible because it treat as one component.
<br /><asp:HyperLink ID="linkNewEmail" runat="server" NavigateUrl="Default.aspx"><br /><asp:Image ID="Image2" runat="server" ImageUrl="icoNewTemplate.gif"/> <br /><asp:Label ID="Label3" runat="server" Text="New Email Template"></asp:Label><br /></asp:HyperLink><br />
0 comments :
Post a Comment