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
60
WebDialogWindow in WebAsyncRefreshPanel
posted

 Hi,

Is is possible to use WebDialogWindow inside a WARP?

I attepted this in IE7. If I leave WebDialogWindow.WindowState = Normal and run it, the WebDialogWindow renders and behaves as it should until I close it.
If I initially set WindowState = Hidden, and try to display it onClick, the WebDialogWindow does not render correctly, it cannot be moved, modal behavior is not present,  and none of the buttons (close, minimize, maximize) work. If I do not set z-index property to a high value, it also overlaps with other controls.  Again, the WebDialogWindow, the button that brings it up, and some grids and other stuff are inside a WARP.

I also get a JavaScript error indicating that the ScriptManager control is causing a conflict. I did not know where to put it, so it is also inside the WARP.  I removed the WARP completely, but it still did not render or worked correctly. Then I replaced the WARP with an UpdatePanel, and the WebDialogWindow worked right (except that it would still overlap unless z-index was set to a high number), but all my other controls that depend on the WARP broke.  

I did not change any default settings on WARP, ScriptManager or UpdatePanel.

I would really very much appreciate if somebody could tell me what is it that I am doing wrong and whether I can make the WARP work with WebDialogWindow the way the UpdatePanel works without breaking everything else (these other controls are just placed inside a WARP to avoid the page postbacks). I have just started using Infragistics and Ajax controls, so I am really lost and I am not even sure what to look for. 

Thank you !