Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating a modal window
Message
De
23/08/2006 07:19:21
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Creating a modal window
Divers
Thread ID:
01147825
Message ID:
01147825
Vues:
68
Hi,

I'm trying to create a modal calendar picker form which will be called from another form.

To make the form modal, I'm trying to put the following in the body tag:
<body onblur="this.widow.focus();">
However, Visual Studio 2005 gives me the following error:

Validation (XHTML 1.0 Transitional):
Attribute 'onblur' is not a valid attribute of element 'body'.

This method of making the form/window modal definitely works in classic ASP and I've seen literally hundreds of examples for ASP.Net using this method.

Anyone any idea where I'm going wrong?

There's an example of what I'm trying to do here:

http://www.15seconds.com/issue/040315.htm

An example of a working modal window is here:

http://codepunk.hardwar.org.uk/ajs04.htm

Thanks.

Matt.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform