Skip to Content
avatar image
Former Member

Prevent reload of HTML/IFRAME in icontabbar when changing tab

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Feb 25 at 07:50 AM

    Hi,

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

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

    Add comment
    10|10000 characters needed characters exceeded