Using 2009.1, WebDialogWIndow inside an UpdatePanel.
In FF 3.0 but not in IE7 I see this problem.
I have a non-modal window defined as follows:
<ig:WebDialogWindow ID="winExerSelect" CssClass="NonModalWindow" runat="server" Height="478px" Width="284px" MaintainLocationOnScroll="false" InitialLocation="Manual" BorderStyle="Solid" BorderWidth="1px" StyleSetName="RubberBlack" WindowState="Minimized" Left="634px"> <Header CaptionText="Select Exercises" CaptionAlignment="Left" MinimizedWidth="284" Height="26px" > <CloseBox Visible="false" /> <MaximizeBox Visible="false" /> <MinimizeBox Visible="true" /> </Header> <ContentPane> <Template > <exer:selector id="wucExerciseSelect" runat="server" OnExerciseSelected="wucExerciseSelect_ExerciseSelected" /> </Template> </ContentPane> </ig:WebDialogWindow>
under certain conditions I am seeing the LEFT property of the rendered DIV growing every time the UpdatePanel is refreshed. It depends on the height of the browser wiwndow. if it is above a certain height, LEFT does not grow. If the window is short enough that a vertical scroll bar is rendered,LEFT does not grow. However in between those 2 values - short enough but not too short - the LEFT property on the rendered DIV increases by 16px every time the UpdatePanel refreshes.
Anyone have any ideas?
All I really need is to specify an initial location for the WDW, after that it is up to the user of the page to position the window, I just want it to stay where they put it.
After a couple of hours of stepping through your javascript, I think I have figured out what is happening, but not what to do about it.
My page has a Master page, which has 2 layers of DIV surrounding the Content Place Holder.
When the page where my WDW sits is less than full screen width, the outermost DIV on my master has a leftOffset that is greater than zero. This offset is getting added to the LEFT property of my WDW whenever I un-minimize the WDW, causing the WDW to creep across the page. Same thing with TOP position too...
Frank, I will open a support case for this question today. I'll be in touch with you soon.
Thanks,
Francis
I moved the WDW out of the update panel and it no longer changes its LEFT value on every ajax refresh. of course, that has repercussions in my app design that I now have to deal with...
is there a way I can capture the position of the dialog and explicitly set it on pre-render maybe?
in firebug I can see that at some point the window position, as rendered within the IG code, is different than what I set or where it was placed by the user.
is this addressed in 2009.2?
My clients are gettgin uptight aobut delays, so I am going to open a ticket now. Forum is not so good for gettign support it seems.