Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding control on a page
Message
De
10/11/2010 16:45:19
 
 
À
10/11/2010 16:15:27
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01488738
Message ID:
01488758
Vues:
31
>I thought .FindControl() only finds a control that is the immediate 'child' of the object? So in the above example 'Page.FindControl("LabelDataEntry").FindControl("MyNewId") would probably work - but you could write a recursive version of FindControl that would be more flexible.....

As per the other message I created after, I didn't send the proper example. Basically, the only way a control can become live, is if is it added as is and not a HTML control being part of a big HTML chunk that we would add into one control. So, the goal, when adding some like that, is to create the HTML layout text into a control and each HTML control into an ASP.NET control. This will make it as if it would have been already present in the ASP.NET at first.
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