Hi,
I am trying to customize the permission, I am trying to hide the Common Links section to all the users that are not super admins. by code using
If Not(ThisCustomer.IsAdminSuperUser) then
' Set the commonlinks' visibility to false
end if
However I keep getting the error following error. Could you please advise?
Thanks,
Hiva Javaher
Server Error in '/aspdotnetstorefront/web' Application.
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: BC30456: 'lnkCacheSwitch_Click' is not a member of 'ASP.goofy_splash_aspx'.
Source Error:
Line 110: <tr><td align="right" style="white-space:nowrap"><font class="subTitleSmall">Is Secure Connection:</font></td><td><asp:Literal ID="ltServerPortSecure" runat="server"></asp:Literal></td></tr>
Line 111: <tr><td align="right" style="white-space:nowrap"><font class="subTitleSmall">Caching Is:</font></td><td>
Line 112: <asp:LinkButton ID="lnkCacheSwitch" runat="server"
Line 113: onclick="lnkCacheSwitch_Click">LinkButton</asp:LinkButton></td></tr>
Line 114: <tr><td align="right" style="white-space:nowrap"><font class="subTitleSmall">Primary Store Locale Setting:</font></td><td><asp:Literal ID="ltWebConfigLocaleSetting" runat="server"></asp:Literal></td></tr>
Source File: C:\InetPub\Websites\myvitaco_com\aspdotnetstorefro nt\web\goofy\splash.aspx Line: 112