cancel
Showing results for 
Search instead for 
Did you mean: 

Prevent reload of HTML/IFRAME in icontabbar when changing tab

joerg_arndt
Participant
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

iftah_peretz
Active Contributor
0 Kudos

Hi,

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

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