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.
Cannot call method 'empty' of undefined
Please find attached a sample project that replicates the issue I'm having.
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.
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.
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.