Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Custom Class Properties
Message
From
16/08/2004 13:08:18
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Custom Class Properties
Miscellaneous
Thread ID:
00933621
Message ID:
00933621
Views:
60
I have create a custom textbox class with custom properties that inherits from the textbox base class.
I create a webform and drop 5 instances of the custom textbox control in the webform.
Also i put a command button un the webform.
In the click event of the command button i have the following code....
Dim loControl As Control
For Each loControl In Page.FindControl("Form1").Controls
   With loControl
       Text = "Hello"
   End With
Next
The problem is that 'Text' property is not directly available. In the watch window locontrol doesn't show the property 'Text'. I found the property under the control base class section. How I reference that section in code to get the property values?
Next
Reply
Map
View

Click here to load this message in the networking platform