I'm using a RadGrid that has some links in the rows that make calls to radalert, radprompt, and radconfirm depending on the data in the row. The call in the link is similar to:
<a href=# onclick="radalert('Text here', 330, 100);return false;">Click here for alert</a>
When there's a large amount of data in the grid, and the user scrolls down the page to get to a row, and then clicks on one of those links that fires off the radConfirm, radPrompt, or radAlert:
1. In Firefox, the page resets to the top of the page and then properly shows the popup.
2. In IE, the page position stays the same, but the popup presumably shows at the top of the page. The net effect, since it is modal, is that the page basically disables and the user is not even able to scroll to the top of the page to get to the popup box.
Of course, the preferred behavior is to have the page stay in the same place (not scroll to the top) and have the popup centered.
I built a separate test application with the RadGrid and the popups and it works fine, so there's clearly something interfering with it in my much more complicated page where this happens.
It would be a nightmare to try and send you my current application, so I wanted to see if you knew of any reasons, probably from other client-side scripts, that could interfere with the RadWindow popups' ability to hold the screen position and center the popup.
In case it helps, I do attach to some JavaScript events, such as:
window.onload
window.onscroll
window.onclick
window.onkeypress
window.onbeforeunload
Could any of my other functions attached to those events cause the problem?
Thanks for your thoughts...
Don