|
-
May 19th, 2004, 11:05 AM
#1
Thread Starter
Fanatic Member
How can I declare objects of type Dropdownlist in a class. *RESOLVED*
I have a class that I want to pass a drop down list to as a parameter.
I cant import the system.web.ui.webcontrols namespace. It doesn't exist
When I type the . after web ( as in System.Web.) intellisence only gives me three options
AspNetHostingPermission
AspNetHostingPermissionAttribute
AspNetHostingPermissionLevel
How can I declare objects of type Dropdownlist in a class.
Last edited by davidrobin; May 20th, 2004 at 06:17 AM.
-
May 19th, 2004, 04:41 PM
#2
Frenzied Member
Check you using/imports/refreances. Make sure you have System.Web.dll in you list. But, actually that shouldn't be an issue if you have any System.Web unless it is something that is part of System.Design.dll or something weird like that.
System.Web.UI.WebControls.TheControl
System.Web.UI.HtmlControls.TheControl
Also, sometimes intelsense craps out.
Magiaus
If I helped give me some points.
-
May 20th, 2004, 06:17 AM
#3
Thread Starter
Fanatic Member
Thats the little baby.
Once I added it as a reference all was fine.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|