Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
120
$find fails in function called from page onload
posted

I need to show/hide a dialog window on page load based on a cookie value.  The $find function fails with 'null' is null or not an object.

Anyone done this?  It seems like it should be pretty common.

Update after reviewing the forum:  WebDialogWindow.initialize won't run when the design-time windowstate is hidden; and if the design time window state is normal, if i try to hide the window in the initialize function, it still flashes visible briefly before hiding - which is not acceptable behavior.  Thanks in advance.