How do you programatically set multiple behaviors for a rad window. I can get it to accept a sibngle behavior such as close or move but how do you tell it to have both Close and Move.
Below is a sample from one of my apps. It sets the behaviours for all of the windows invoked by this page. You can do this on a window-by-window basis by setting the Window property rather than that of the WindowManager.
You can do this 'cos the WindowsBehaviours enum is defined using the [Flags] attribute. See this MSDN article for more details about enums and the [Flags] attribute.
When I set behaviors as "Move" for Rad WIndow, it moves the window, but we can move it to any location even our screen ends still you can move it. How to restrict user for not moving the window out of parent screen layout ?
You cannot prevent the user from dragging an object outside of the original viewport area. You can set the KeepInScreenBounds property of the RadWindow to true so that window will stay in the visible viewport of the browser window.