Wednesday, February 25, 2009

"javascript:" is replaced to "" in HyperLinkField

For security reason, ASP.net automatically replace the "javascript:" in the hyperlinkfield to empty string.

In order to run javascript function, you would better add the event by navigate DOM tree to do so.

No comments: