Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FindControl
Message
From
17/11/2004 15:14:16
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
FindControl
Environment versions
Environment:
ASP.NET
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
DB2
Miscellaneous
Thread ID:
00962353
Message ID:
00962353
Views:
37
I have a webform

I have a custom control on my webform

I am trying to find a dropdown list control inside of the custom control by using the following code but it's not working:
cType(FindControl("ddlMyDropDownList"), DropDownList).SelectedValue

How can I find a control that is inside of a custom control or how do I find a control that is in another webform and be able to use their values / text / etc?

Thank you in advance.
Next
Reply
Map
View

Click here to load this message in the networking platform