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

                                    I'm getting an error DXR.axd?r=8_25 line 17 document.selection.empty();

                                    as document.selection is null

                                    it reports the error
                                    Cannot call method 'empty' of undefined.

                                    The scheduler is not shown on the page to start with, I'm calling ASPxScheduler.RegisterBaseScript(this); on the initial page load.
                                    The scheduler is shown in a popup.

                                    Other than this error it appears to be working fine, I can select a range, and the correct value are sent in the callback.
                                    Just appears to be this one line causing the issue.

                                    Steps to Reproduce:

                                    Put the scheduler in a popup, put the popup on a usercontrol which isn't loaded onto the page by default, load the user control inside an updatepanel (and do so for remaining postbacks), launch the popup, select a date.

                                    Note the error keeps on firing whilst you hold down the left mouse button.

                                    Actual Results:

                                    Get a javascript error

                                    Cannot call method 'empty' of undefined

                                    Expected Results:

                                    No javascript error

                                0

                                Please find attached a sample project that replicates the issue I'm having.

                                Just click on the button to launch the popup, and then select an appointment range. You'll notice in the javascript console that the error noted above keeps on firing whilst the left mouse button is down.

                                SchedulerPopupDynamic.zip
                                0

                                Hi Ian,

                                Thank you for providing the source code.

                                At present, I'm unable to reproduce the problem you described. I've created and attached a screencast, illustrating my actions. Please review it and let me know whether the actions I performed are correct. Probably, I missed something essential.

                                Thanks,
                                Elliot

                                B149978.swf
                                0

                                Thanks for the quick reply, noticed you are using IE, and I'm using Chrome.

                                Just run a few tests and works fine in IE, Opera and Firefox.

                                But get error in Chrome and Safari.

                                Hope that helps.

                                Kind Regards

                                0

                                Hi Ian,

                                Thank you for additional information.

                                I was checked this issue in the Chrome browser, and all works properly at our end. Can you please post here information about the version of the Google Chrome browser used in your development machine? This will make the situation clearer.

                                Thanks,
                                Elliot

                                0

                                Hi,

                                I'm using Chrome 5.0.375.126
                                and Safari 5.0.1 (7533.17.8)

                                Are you using the same version?

                                Kind Regards

                                0

                                Hi Ian,

                                Thank you for the reply.

                                I've updated my Google browser to 5.0.375.126 version and installed the Safari browser of the 5.0.1 (7533.17.8) on my development machine. Then, I've checked this issue by using your additional information. Unfortunately, I still unable to reproduce this issue. Please review the screencast in the attachment.

                                Thanks,
                                Elliot

                                B149978_001.swf
                                0

                                Thanks again for quick reply,

                                can you just check for me the error console.

                                Chrome CTRL + SHIFT + J
                                Safari CTRL + ALT + C

                                I didn't see the error console in the video, as I say the behaviour seems fine, just keeps on firing this error.

                                0

                                Hi Ian,

                                Thank you for the update.

                                >>>>
                                Chrome CTRL + SHIFT + J
                                Safari CTRL + ALT + C
                                <<<<
                                I've seen the errors in the error console of my Chrome web browser. So, I've forwarded this bug report to our developer team. Sorry for the inconvenience.

                                Thanks,
                                Elliot

                                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.