Modal Windows in VS.Net2003

R

Richard Hatt

I have been making modal browser windows in ASP.Net by
adding
onblur="javascript:self.focus()"
to the <Body> tag, as this works across different
browsers.

However, since upgrading to VS.Net2003, this <Body>
attribute stops the focus going to any textbox on the
form. You can't click on a textbox and enter any data!
If I remove this <Body> attribute, it all works again
(but obviously the window is no longer modal).

Has anyone else found this, or know why it's changed?
 

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

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top