OS11 - Load content from tabs when tab is activated

I think with Silk it was possible to load the content of a tab when the tab is activated. I thought to use the LoadOnVisible from OutSystemsUIWeb but the content is loaded even when the tab is not activated. Do you maybe have a idea how to do this with the new OS UI?

Hi,


You have a parameter to allow you to do that.

It's called "LoadOnClick".


Is that what you need?


Thanks

André Alho wrote:

Hi,


You have a parameter to allow you to do that.

It's called "LoadOnClick".


Is that what you need?


Thanks

Hi André,

@freek is talking about tabs widget from OutsystemsUI, not WebPatterns. In the case of OutsystemsUI you don't have that option and the behavior it's not the same.


Regards,

Ricardo


Thats correct and the question is how to do this with OutsystemsUI?

freek wrote:

Thats correct and the question is how to do this with OutsystemsUI?


Hi freek,

So far as I know, it's not possible, but I can be wrong. For you, use the Tabs widgets from WebPatterns, it's not a solution?


Regards,

Ricardo

Hi Ricardo,

We don't want to use Silk so in this case not possible :)

Maybe the best approach as work around is wrapping tab content into an IF with IsLoadingScreen() and refresh tab content after click.


Also, you can create an Idea, we will vote for it!

freek wrote:

Hi Ricardo,

We don't want to use Silk so in this case not possible :)

Hi freek,

You don't need to use SilkUI. WebPatterns can be called from manage dependencies and still using OutsystemsUI:


Hope this can help you. ;)


Best regards,

Ricardo