Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
UserLogin.aspx with MasterPage javascript error
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
C# 2.0
Divers
Thread ID:
01298041
Message ID:
01300614
Vues:
13
E.R.

>When you add a Master Page to UserLogin.aspx the javascript created by setting this.FocusedControl doesn't work. Is that because the control is now in a ContentPlaceholder? Is there a way to get this to work correctly?

Try using one of these approaches as discussed in the MM .NET Dev Guide topic "Setting Initial Control Focus on a Web Form":
this.SetFocus(this.Button1)
this.Button1.Focus()
Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform