M
Mohammed Siraj
Guest
Yes Meryem, code written to run on document.ready in custom script components will be affected if navigation is accomplished via Page Ajax Update. We have ensured that any onload handlers attached as Page properties are not affected. In custom script components, request you run any page customization scripts on Rollbase custom event i.e. rb.newui.util.customEvents.rbs_pageRender. This event will be fired for both Page Refresh & Page Ajax update cases. Eg: rb.newui.util.addEventListener(rb.newui.util.customEvents.rbs_pageRender, function () { //Once page is rendered, we can start querying for page elements.. in this case input control for field 'timeA'. var fieldContext = rbf_getFieldContext('timeA'); if(fieldContext){ fieldContext.getKendoConfig().setOptions({interval: 10}); } });
Continue reading...
Continue reading...