This is a migrated thread and some comments may be shown as answers.

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

1 Answer 56 Views
Button
This is a migrated thread and some comments may be shown as answers.
LamKhoa
Top achievements
Rank 1
LamKhoa asked on 12 Sep 2013, 01:46 PM
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.

1 Answer, 1 is accepted

Sort by
0
Danail Vasilev
Telerik team
answered on 17 Sep 2013, 09:31 AM
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.
Tags
Button
Asked by
LamKhoa
Top achievements
Rank 1
Answers by
Danail Vasilev
Telerik team
Share this question
or