Skip to Content
0

Prevent reload of HTML/IFRAME in icontabbar when changing tab

Feb 22 at 04:24 PM

31

avatar image
Former Member

Hi Friends,

I have html control in icontabbar like this :

var url = "google.de";
var oHtml = new sap.ui.core.HTML(sHtmlName, {					preferDom : false,							content : "<iframe src='" + url + "' width='100%' height='900px' >"
	});

But allways when I change the tab and come back the iframe will be refreshed. Is there a way to prevent this.

Thanks and Rg. Joerg

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Iftah Peretz
Feb 25 at 07:50 AM
0

Hi,

Are you rebuilding the iFrame everytime, or just once onInit?

Would be helpful if you could add a working example (like here).

Share
10 |10000 characters needed characters left characters exceeded