1. How to control <a pref="www.google.co.jp" target="_blank"> in backend asp.net source
(1) <a pref=<%= Parameter %> target="_blank">
in aspx.cs file, course code:
Parameter = "www.google.co.jp" or Parameter = ""
(2) <a pref="www.google.co.jp" target="_blank" onclick=<%= Parameter %>>
in aspx.cs file, course code:
Parameter = " ' return false;' "; or Parameter = " ' return true;' ";
(3) <a class=<%= Parameter %> pref="www.google.co.jp" target="_blank" >
in aspx.cs file, course code:
Parameter = " enable" ; or Parameter = " disable";
in css file
.list a.disable
{
pointer-events:none; /*link event won't work when click*/
cursor:default; /*cursor mark won't change when move to the href link*/
text-decoration:none; /*no underline*/
color:#000000; /*no color*/
}