Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting the name of the control
Message
From
05/06/2006 20:25:41
 
 
To
All
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Title:
Getting the name of the control
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01127243
Message ID:
01127243
Views:
67
If I have the following code:
If TypeOf loControl Is System.Web.UI.UserControl Then
End If
From within the condition, how would I get the loControl name? I am not looking for the ID but the name of the control itself. I need to use this in order to be sure that I am using the proper control if I go in this condition and not another UserControl that could have been dropped on the form.
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
Reply
Map
View

Click here to load this message in the networking platform