Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding control on a page
Message
From
10/11/2010 16:45:19
 
 
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01488738
Message ID:
01488758
Views:
32
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform