question about my custom control

R

rodchar

hey all,

i was wondering, i have a custom control that inherits from the image
button. i have 2 .aspx pages.

all the custom control does is open a new window for help info.

well, on 1 .aspx page the new window appears fine and in focus. however, on
the second window the new window opens but the original window regains focus
(as a result pushing the help window in the back.).

the page load looks very similar so i can't figure out the different results.

thanks,
rodchar
 
P

Prasanna Pattam

Just include the javascript in the second aspx page to bring the focus of the
second window:
<script>
window.focus();
</script>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,009
Latest member
GidgetGamb

Latest Threads

Top