When a user logs in to the site, I'm trying to change the color (to "white" -- but only when there is a logged in user) of a list item that is contained on my master page. It is not working. Below is the markup and error message. What am I doing wrong? Thank you.
<script runat="server" language="vbscript">
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim currentUser As MembershipUser = Membership.GetUser()
If currentUser IsNot Nothing Then
acme.Style("color") = "white"
Protected advertise As System.Web.UI.HtmlControls.HtmlGenericControl
On same master page:
<ul> <li id="acme"><a href=".
View Complete Post