When the page loads, I want to hide some buttons based on user permissions.
I have a function that does what I need, but currently I have to press a button to call it.
How to run a applyUserPermissions
function right after page loads using SmartClient?
function applyUserPermissions(){
btn.setDisabled(false);
}