When a visitor clicks a link, usually the browser is going directly to the that link, without making a new request to our server. Therefore, you should use a script that is executed on the client's side to control the browser behavior.
, you could write an event handler of all clicks on <a>
element, checking the href
property of this <a>
tag, and implement a logic which decides whether user is going to another domain or not.
I hope you find this helpful. Let us know if we can assist you with anything else.
All the best,
the Telerik team