Geeks With Blogs

News
Google

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: window.open('" + vUrl + "','new'); void(0);"; } It doesn't seems it's a very smart way. A reminding to myself, <a href="http://www.microsoft.... target="_blank">go</a... <a href="http://www.microsoft.... ......

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

Copyright © Aaron Li | Powered by: GeeksWithBlogs.net