how to click to open new tab without switching to it immediately?

2 posts, 0 answers
  1. LamKhoa
    LamKhoa avatar
    92 posts
    Member since:
    Jun 2011

    Posted 12 Sep 2013 Link to this post

    I have a button on the page, by default, when I click, it's automatically leaving the current page and transfer to new page. Then if I set its Target = "_blank", it will open a new tab (Firefox) and switch to that new tab immediately.

    I would like to know how to set it so that it will open the new tab, but won't switch to that new tab and remain on the current page?

    Thanks All.
  2. Danail Vasilev
    Admin
    Danail Vasilev avatar
    1494 posts

    Posted 17 Sep 2013 Link to this post

    Hi LamKhoa,

    I am not sure whether the mentioned scenario can be achieved, because tab opening and focusing are browser behaviors, that we do not have control over them.

    You may also find useful this and this forum threads where a discussion as well as some workarounds on the matter can be found.

    Regards,
    Danail Vasilev
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top