Let’s pretend this works:
<a href="target.html" enabled="<%# myboolean %>">Zelda</a>
Okay, but it doesn’t. What is the closest I can get to this setup? I basically want the text to either be a link or to be regular text depending on myboolean
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can use an
ifstatement in yourasp.netcode if you really want to switch between a link and just plain text.