Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding onLoad() event to BODY
Message
De
29/10/2006 21:59:10
 
 
À
29/10/2006 20:34:07
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01165406
Message ID:
01165420
Vues:
13
I have this code:
Dim loControlGenericControl As System.Web.UI.HtmlControls.HtmlGenericControl = New System.Web.UI.HtmlControls.HtmlGenericControl()
loControlGenericControl = oProcess.oPage.FindControl("Body")
loControlGenericControl.Attributes.Add("onload", "LXCheckAlert2()")
I have the body defined as:
<body runat="server" id="Body">  
However, at run time, this doesn't generate any error but nothing gets added to the BODY tag.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform