When I set Widget visibility to false, its scripts can not be executed. I am using widget for getting and writing some data to localstorage. When I am creating a component like as in winform I am inserting a widget to component and then when I used the component, widget scripts aren’t executed too.
Look at the source code of the geolocation extension to see how we did it there, or use the attached local storage component sample.
That’s correct. When you create a Wisej control, it is not rendered on the client until the first time it is made visible. The reason is that many apps we worked with have a lot of controls in tab pages, or in hidden panels that don’t need to be created on the client until later on and sometimes never. The control is fully created on the server though.
You can force it by calling CreateControl().
Please login first to submit.