possible bug with firefox 10.2 ???

3 posts, 0 answers
  1. aykut
    aykut avatar
    64 posts
    Member since:
    Oct 2007

    Posted 04 Mar 2012 Link to this post

    Dear friends,

    I need help about radwindows. The code in attahed files worked for months until firefox 10.2 update. It is still working with ms internet explorer.

    Issue is about web page -> open modal radwindow -> open another modal radwindow

    I isolated the problem and added necessary information on pages. As I cannot attach rar files to message, I gave a link. Sorry for that. Also this problem is about multiple web pages, so I did not write code here in this message. Sorry about that.

    I tried 2011q4 and 2012q1 telerik versions. aslo I tried 2012q1 hotfix228

    Can you confirm this as a bug ? If so, is it about telerik or about firefox ? Can I do something to make this code work ?

    www.karina-mira.org/test.rar
  2. Marin Bratanov
    Admin
    Marin Bratanov avatar
    4529 posts

    Posted 06 Mar 2012 Link to this post

    Hi Aykut,

    Please change the onmousedown with onclick. The mouseup changes the focus and thus may cause issues. I believe that there has been some change in FireFox related to focusing elements after mouse events, yet I cannot confirm this with 100% certainty. Also, when opening a RadWindow from a Radwindow you only need to set a small timeout when calling radopen() or show(), you do not need setActive() in this case. This is shown in this help article.

    This means that I suggest you change the following lines:
    in AdminUrunler.aspx:
    function OpenWindowBigPicture(s)
    {
        setTimeout(function ()
        {
            var wnd = window.radopen('BigPicture.aspx?im=' + s, null);
            wnd.setSize(650, 500);
        }, 0);
        return false;
    }

    and in ProductDetails.aspx
    <div style="cursor: pointer; white-space: nowrap;" onclick="javascript:window.parent.OpenWindowBigPicture('0C67EF7C61FF4785BA1F16A231981C84.jpg');">
                                               <table>
    . . . . . .

    Similarly, you can replace the other onmousedown handlers with onclick, as it is a more reliable event.

    Once I did this things were working properly with me (a screenshot is attached, as well as the two modified pages).


    Kind regards,
    Marin
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. aykut
    aykut avatar
    64 posts
    Member since:
    Oct 2007

    Posted 07 Mar 2012 Link to this post

    great... thanks for your solution. it works.

    have a nice day.
Back to Top