I'm getting the following error from this script.  CS1061: 'System.Web.UI.HtmlControls.HtmlAnchor' does not contain a definition for 'Href' and no extension method 'Href' accepting a first argument of type 'System.Web.UI.HtmlControls.HtmlAnchor' could be found (are you missing a using directive or an assembly reference?)
Can someone let me know what I am missing?
<script language="C#" runat="server">
protected override void OnInit(EventArgs e) { base.OnInit(e);
// Find out if the logged in user has access to update the selected user and redirect to the appropriate page // We look for a nav item within the current site with NavigationCode=navCode and redirect there DivMyLink.Visible = false; if (Asi.AppContext.CurrentContext != null) {
if(Asi.AppContext.CurrentContext.WebsiteKey != Guid.Empty) { //string strCurId = Asi.Security.Utility.Sec ...

Go to the complete details ...