Dear supporters
I have been using Infragistics35.WebUI.UltraWebGrid.v11.1 to develop a website. I have designed 1 main page which has UltraWebGrid for containing data from database and 1 button to open a popup ( i using method ClientScript.RegisterStartupScript()). Details are as attached.
When I run the website, if I click the button first (without focusing on UtralWebGird) then the popup will display above the main page (as expected). However if I click the UtralWebGird before clicking the button, then the popup always displays behind the main screen (it seems that the main screen has auto reloaded).
Could you please let me know the reasons of the above situation, and how the problem can be fixed?
Thanks,
Hi Huy,
It seems that this is happening only in IE. I found a possible workaround - in the popup page, modify the body tag like this:
<body onload="window.focus()">
Hope this helps.
Thanks for your answer,
I did as your suggestion, but still not fix problem. I tried to write script newwindow.focus () for the popup, but this way will make the popup blink.I think has the problem in handling java script of the UltraWebGrid.v11.1. I have been trying to debug in this javascript handler of UltraWebGrid, but to investigate the obvious reasons then it is difficult.