Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Listing controls of a WebForm
Message
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Listing controls of a WebForm
Environment versions
Environment:
VB.NET 1.1
Miscellaneous
Thread ID:
01079556
Message ID:
01079556
Views:
72
Hi

I have to create a small tool (a Windows form application) that will :
1. open an assembly containing ASP.Net web forms
2. list the Web Forms in it
3. list the controls in the form (recursively if the control is a container)

I have already made a tool like this for Windows forms application.

Using Reflection, I have been able to open the assembly and list the Web Forms it contains.

I am now jammed on the last topic (listing controls of the selected web form). I cannot use Activator.CreateInstance(tType) like I did with my Windows version of that tool because most classes are abstract.

Any one can help on this. An example in VB.Net would be the best but C# would be OK too.
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Next
Reply
Map
View

Click here to load this message in the networking platform