resolveurl - name doesn't exist in namespace

  •  08-12-2006, 4:49 AM

    resolveurl - name doesn't exist in namespace

    I have a problem with the sample code in the help.
    The name 'resolveurl' does not exist in the class or namespace.
    How to make resolve url visible in the markup? I tried
    also the name is visible in the behind cs code.
    Please advice.

    <%if
    (CuteSoft.Chat.ChatWebUtility.CurrentIdentityIsAdministrator){%>
       <BR>
       &nbsp;<Asp:HyperLink runat="server" NavigateUrl="../CuteSoft_Client/CuteChat/Admin/" ID="Hyperlink1" NAME="Hyperlink1">Chat Admin</Asp:HyperLink><BR>
       <%} %>   
       <%="<"%>
       <%="script"%>
       <%=" src='"%>
       <%=resolveurl("../CuteSoft_Client/CuteChat/IntegrationUtility.js.aspx")%>
       <%="'"%>
       <%=">"%>
       <%="<"%>
       <%="/script"%>
       <%=">"%>

       <img src="<%=resolveurl("~/CuteSoft_Client/CuteChat/images/icon_invite.gif")%>" align=absmiddle&gt;<a href="###" onclick="BLOCKED SCRIPTChat_OpenMessenger()">Messenger</a>
       <BR>

View Complete Thread