Blaise
Blaise

Reputation: 22222

How to force a page to be displayed inside an ext:Panel?

This is about ext.net.

I have a link in West section, by clicking which, a webpage should be displayed in the Center section in a tab. But how to prevent the page from being rendered in a new browser window or tab (by shift click, or right click, then pick open in a new tab)?

Upvotes: 0

Views: 813

Answers (1)

Daniil Veriga
Daniil Veriga

Reputation: 1851

I can suggest to use a LinkButton (if you really need your link to look as a link). http://examples.ext.net/#/Buttons/Basic/LinkButton/

Handle its Click event and load any URL to the Center region.

App.PanelCenter.load({ url: "some URL" });

PanelCenter should be configured with a respective Loader.

Hope this helps.

Upvotes: 1

Related Questions