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
115
Support for WebDialogWindow in Google Chrome
posted

Hi,

I built a simple AJAX page. The basics, all controls work except the WebDialogWindow when its original state is set to visible = false AND that on a button click event the visible property is set to true... The control is within an update panel.

Again, it seems to work well in IE and Firefox, but Chrome seems to have issues with it...

 Any thoughts?

Parents
  • 24497
    Verified Answer
    posted

    Hi Marty,

    Thank you for a report. I eventually tracked that problem, which happens under Safari and Chrome, to the failure to load javascript files used by WebDialogWindow. I reproduced similar problem with any control which is based on initialization of its javascript object on client and if that initialization depends on script resources like <script src="..."></script>.

    All actions related to script-resources is implemented by AJAX framework and unfortunately WebDialogWindow is not able to modify or fix that architecture.

    To fix, you may keep another dummy-static-permanently-hidden control on page outside of UpdatePanel. In this case javascript resources used by that control will be always availiable on client and they will not depend on dynamic async loading.

    Example:
    <ig:WebDialogWindow ID="WebDialogWindow2" runat="server" style="display:none;visibility:hidden;" ></ig:WebDialogWindow>

    Or you may use style.display/visibility (or WindowState=Hidden/Normal) instead of Visible property. In this case WebDialogWindow will always exist on client.

Reply Children
No Data