Select from following answers:- In the ASPX page, set the EditHyperLink.Visible property to True. In the JavaScript window.onload event handler, set the link’s style.display property to none if the user is not a member of the Administrators role.
- In the ASPX page, set the EditHyperLink.Visible property to False. In the JavaScript window.onload event handler, set the link’s style.display property to block if the user is a member of the Administrators role
- In the ASPX page, set the EditHyperLink.Visible property to False. In the Page.Load event handler, set the HyperLink.Visible property to True if the user is a member of the Administrators role.
- In the ASPX page, set the EditHyperLink.Visible property to False. In the EditHyper Link.Click event handler, set the HyperLink.Visible property to False if the user is not a member of the Administrators role.
- All Above
This approach displays the link only to users who are members of the Administrators group, even if the user views the page source. Because it performs
the processing on the server, security is maintained
Show Correct Answer
Source: Microsoft | |
Alert Moderator