This is a migrated thread and some comments may be shown as answers.

Window Opening behind Creator Window

1 Answer 53 Views
Window
This is a migrated thread and some comments may be shown as answers.
Charlie Bross
Top achievements
Rank 1
Charlie Bross asked on 28 Aug 2008, 06:46 PM
I have a window with a RadGrid on it. I am attaching to the RowClick event of the RadGrid in order to open a new window. What is happening is that when I click the row, it is opening a new window, but the new window is appearing behind the main window with the grid on it. I am assuming that this is because the grid is "Highlighting" the row that I clicked on after it has opened the new window which brings the focus back to the same window. Is there anyway around this? Is there a different event that I should be using?

Thanks!

1 Answer, 1 is accepted

Sort by
0
Charlie Bross
Top achievements
Rank 1
answered on 28 Aug 2008, 06:57 PM
After reading another post...

http://www.telerik.com/community/forums/thread/b311D-bkmdca.aspx

 on a different issue, I was able to get around this by using a window.setTimeout(function(), 0);.

Thanks Georgi!
Tags
Window
Asked by
Charlie Bross
Top achievements
Rank 1
Answers by
Charlie Bross
Top achievements
Rank 1
Share this question
or