Geeks With Blogs


Aaron Li's Blog Write it down before I forget October 2007 Entries
Link and Target
Today, I tried to control a html link with a tag and a function (in c#) like the following, <a href="<%#GetTopLink(Eval... protected string GetTopLink(string vUrl) { if (<true>) return vUrl; else return "javascript:'" + vUrl + "','new'); void(0);"; } It doesn't seems it's a very smart way. A reminding to myself, <a href=" target="_blank">go</a... <a href=" ......

Posted On Monday, October 1, 2007 6:44 PM

Copyright © Aaron Li | Powered by: