#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2010
    Posts
    5
    Rep Power
    0

    How To Show A Message Or Page On Clicking Url Link Before Redirecting To An External


    I have a webpage in VB.net with a link so that when users click a url link, it directs them to an external website and it works but I want to add a extra layer so that it shows a message or intermediary page before the external page is loaded to the user. For instance, show a progress bar with dealy and message stating "You are leaving this website" before showing or being redirected to the external page. I am using the link below to show the external link. Can you please help with this:

    Code:
    <a href = "<%# Eval("LinkUrl") %>" target="_blank"> Go to link</a>
    Thanks in advance
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2016
    Posts
    54
    Rep Power
    2
    I believe the solution to your problem can be found here:

    JavaScript confirm dialog box

IMN logo majestic logo threadwatch logo seochat tools logo