smart device - GeneXus: Websession's contents will not be preserved between calls to Refresh -


I have to replenish my grid every time the user has set a new date (data from WebServity). According to the event triggering order, I was thinking:

(1) Action event: Call a process to get the data, transform it, fill it up the SDT and place it on a web site.

(2) Refresh Event: Rebuild local SDT with new values.

(3) Load Event: Load the grid.

However, when I make it, I see a warning:

spc0185: not refreshed in the middle of calls to refresh the content of the website Will be done.

And I can confirm that the behavior is a bit strange (the grid only refreshes the user on the fist time, the date changes).

  Events and myDate.ControlValueChanged Composite Setgrization (& mydate) Refresh Endcompatch & Event Event Refresh & amp; Mydate = ctod (& websession.get ('newDate')) to refresh date // var & amp; MyJSON = & amp; Websession.get ('GridJSON') & mySDT.FromJson (& myJSON) and event event load & amp; ; MySDTItem & amp; MySDT and field 1 = & amp; MySDTI Tem.field1 & amp; Field2 = & amp; MySDTItem.field2 & amp; Field3 = & amp; MySDTItem.field3 load end endevent  

Is there any alternative solution for this?

Thanks

I have every & amp; How can I fill the grid in myDate variant?

Comments

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -