yosr jemili

yosr jemili

  • NA
  • 4
  • 642

Capture data after click on custom helper hyperlink

Aug 7 2015 11:18 AM

Hello

As Initiation I have to create a custom helper for hyperlink like in the code above :

 class CapturedLink { public static MvcHtmlString Hyperlink(this HtmlHelper helper, string url, string linkText) { return MvcHtmlString.Create(String.Format("<a href='{0}'>{1}</a>", url, linkText)); } }

but what i am missing is that I want to capture some data (application name,page ...etc ) when I click on that link

How we can do this ?


Answers (1)