Dynamically setting the size of a label in servoy web client

Hi All,

My current situation is like this . I am doing some file upload in Servoy web client using a plugin . In the mid of uploading the file , I am getting the bytes transferred correctly as data . I want to create a label whose size depends on the bytes transferred . we can change the size using setSize() method for label . But the Web page is not refreshing until the file is uploaded . So in the background the label size is not changing . But after the file upload it is showing the final label size . The same thing is happening if I am trying if with solution model . There is a property in the servoy admin page servoy.webclient.datanotify.frequency.I have also tried it maintaining minimum 1 sec , so that it will refresh for every 1 sec . But it is waiting for the operation to be completed. It will work fine for smart client.

Please share some feedback on this.

Thanks,
aksrot

this will not work because you don’t get the event before all bytes are already on the server.
The browser is just busy sending the bytes over in a request, there is no response generated before that request ends