Im currently trying to write a simple if/else on an aspx page. (vb.net)
The if triggers a false statement, so obviously you would assume it would use whatever is in the else secion... when i get to the else, it steps to else, but jumps over the code and goes right to the end if... basically, i cant get an else to run its code...
can someone take a look and tell me what im missing? its a silly if else and i cant get it to work /embarrassing...
<%If (Model.IsUserRegistered(Context.User.Identity.Name)) Then%>
<p>You are registered for the event!</p>
<p>You are not registered for the event.</p>
View Complete Post