Hi,
why InitScript in a widget is called multiple time?
regards
Cristian Zerbinati
It’s called when the widget is created on the client the first time or on a page refresh and when InitScript changes. I tried on a Page and a Button using console.log(this, “init”); and also added debugger; to make sure but it’s always executed only once correctly. Can you attach a test case?
ok Luca,
I do a test project, you are right, for some reason the problem it is only in my project.
thank you
Cristian