Current filter:
                                You should refresh the page.
                                0
                                  • Hi,

                                    Attached is a screenshot comparing two callbacks. They are both the same calls, however, I believe there is a bug in the ASPxCallbackPanel. It does not hide the content at the first initial call, only after the first call happens and it gets called again.

                                    My code is as follows:

                                    <asp:Panel runat="server" CssClass="panelResult" ID="resultBing" ClientIDMode="Static" style="display: none;">
                                              <div class="engineLeft">
                                                   <div class="engineLogo"><asp:HyperLink runat="server" ID="linkBing" Target="_blank"><img id="bingLogo" src="Images/Main/Engine_Bing.png" alt="Bing" title="Bing" onmouseover="new Effect.Opacity('bingLogo', { from: 0.2, to: 1 });" onmouseout="new Effect.Opacity('bingLogo', { from: 1, to: 0.2 });" /></asp:HyperLink></div>
                                                <div id="bingNavigationL" class="navigationLeft" onmouseover="new Effect.Opacity('bingNavigationL', { from: 0.2, to: 1 });" onmouseout="new Effect.Opacity('bingNavigationL', { from: 1, to: 0.2 });"><dx:ASPxImage ID="bingNavigationImageL" ImageUrl="Images/Main/arrowLeft.png" AlternateText="Previous Results" runat="server"><ClientSideEvents Click="function(s, e) { bingImagesCb.PerformCallback('previous'); }" /></dx:ASPxImage></div>
                                                <div id="bingNavigationR" class="navigationRight" onmouseover="new Effect.Opacity('bingNavigationR', { from: 0.2, to: 1 });" onmouseout="new Effect.Opacity('bingNavigationR', { from: 1, to: 0.2 });"><dx:ASPxImage ID="bingNavigationImageR" ImageUrl="Images/Main/arrowRight.png" AlternateText="Next Results" runat="server"><ClientSideEvents Click="function(s, e) { bingImagesCb.PerformCallback('next'); }" /></dx:ASPxImage></div>
                                              </div>
                                              <div class="engineRight">
                                                   <dx:ASPxCallbackPanel ID="bingImages" runat="server" CssClass="engineResult" ClientInstanceName="bingImagesCb" HideContentOnCallback="True" ClientIDMode="Static" oncallback="bingImages_Callback" ViewStateMode="Enabled"></dx:ASPxCallbackPanel>
                                              </div>
                                         </asp:Panel>

                                    If you see on the first screenshot, when the first time the callback happens, the loading panel is on the lower side of the div, since the container holding the content is still visible. However, when I do the second callback, it is aligned perfectly, because the callback hides the content div and reactivated it when it goes away.

                                    Do you know why it doesn't do it the first time?

                                    Thanks.

                                screenshots.zip
                                0

                                Hello Dennis,

                                Thank you for your report. We will investigate the issue, but it will take time. Meanwhile, I see several CSS classes and JavaScript methods that are called in your scenario. Would you please share corresponding css and js-files with us? They allow us to research the issue under correct conditions.

                                Best regards,
                                Vladimir

                                0

                                Hi Dennis,

                                I've reproduced the problem. It seems that the content isn't hidden if it is empty or contains text only. I've converted this issue to a bug report. We'll fix it as soon as possible.

                                With best regards,
                                Dmitry

                                0

                                Yes, the content is empty in my scenario as well. I'm glad the bug was found. I was trying everything in order to fix it. I look forward for the fix, I presume it will be in the next maintenance release?

                                Thanks.

                                0

                                Hi Dennis,

                                I've just fixed this issue. You do not need to wait for the next release, you can obtain a Public Fix for it by clicking the "Request Public Fix" button on the issue page.

                                Thanks,
                                Serge S.

                                0

                                Hello Dennis,

                                We are close to releasing a new maintenance update. We think the information from this ticket may be interesting and useful to other users. So, we would like to mark this ticket as Public, if you do not mind, to include it in the What's New lists for the upcoming build.

                                Regards,
                                Mike

                                0

                                Sounds good.

                                0

                                Hello Dennis:

                                Thank you for the feedback. I have marked the issue as Public.

                                Thanks
                                Kate.

                                You must  log in  or  register  to leave an answer

                                Is your intention to post an answer to your own question?

                                • If so, then proceed.
                                • If you simply wanted to post additional information, ask for further clarification, or to just say "Thanks!", please click Leave a Comment.
                                • If you wish to edit your original question, please use the Edit button in the Toolbox at the top right corner of that entry.