Here's a nut to crack :)
I have a app that uses radwindows for popups for filling in data, and in one case, I need to open another popup within the popup, but from the parent.
When I use a regular text-link, I can go like:
And it works fine, it sets the old popup out of focus, sets the modal and everything works out fine.
But when I use this:
The popup which initiated the new popup, stays active, the background goes modal, and the new popup hides behind the first popup.
Took me a good 2 hours to understand that it wasn't the surrounding HTML that made it impossible to work, it was just that image. :)
If you need more information, ask away :)
Edit:
.setActive() does not work aswell. :) (In the Image-case)
I have a app that uses radwindows for popups for filling in data, and in one case, I need to open another popup within the popup, but from the parent.
When I use a regular text-link, I can go like:
<
a
href
=
"javascript://"
onclick
=
"var win = GetWindow().BrowserWindow.radopen('randomPopup.aspx'); win.set_modal(true);"
>Click me</
a
>
But when I use this:
<
a
href
=
"javascript://"
onclick="var
win
=
GetWindow
().BrowserWindow.radopen('randomPopup.aspx');
win.set_modal(true);"><
img
src
=
"clickMe.png"
/></
a
>
Took me a good 2 hours to understand that it wasn't the surrounding HTML that made it impossible to work, it was just that image. :)
If you need more information, ask away :)
Edit:
.setActive() does not work aswell. :) (In the Image-case)