|
|
| isacc manit 2005-12-18, 3:57 am |
| How to access child control from a panel Control or (LoginView etc..) in code
For example Changing text from a lable that is in a panel Control
--
VB.NET
| |
| Elton W 2005-12-18, 7:02 pm |
| You can use Control.FindControl(stringID) to get reference of the Label.
HTH
Elton Wang
"isacc manit" wrote:
> How to access child control from a panel Control or (LoginView etc..) in code
> For example Changing text from a lable that is in a panel Control
>
> --
> VB.NET
| |
| clintonG 2005-12-18, 9:58 pm |
| The FindControl method can be used but is late bound and has been described
as "brute force." The preferred way is the use of a public property which is
early bound, self-documents the code and has other benefits.
<%= Clinton Gallagher
METROmilwaukee (sm) "A Regional Information Service"
NET csgallagher AT metromilwaukee.com
URL http://metromilwaukee.com/
URL http://clintongallagher.metromilwaukee.com/
"Elton W" <EltonW@discussions.microsoft.com> wrote in message
news:B4F76F5E-8655-4D19-86E6-B19FB799947F@microsoft.com...[color=darkred]
> You can use Control.FindControl(stringID) to get reference of the Label.
>
> HTH
>
> Elton Wang
>
>
> "isacc manit" wrote:
>
|
|
|
|