Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Building Controls > Question about a user control derived from DropDownList

Reply
Thread Tools

Question about a user control derived from DropDownList

 
 
Big Daddy
Guest
Posts: n/a
 
      11-09-2006
I posted this in a different group yesterday with no responses, so I'll
try here.

I have a simple control that is in a CS file (not ASCX). It is derived
from DropDownList like this

public class FiltersDropDown : DropDownList
{
....

}

It overrides a couple of functions. I want to include this
FiltersDropDown control in an ASPX file. I know how to use the "@
register" directive to include an ASCX file, but it doesn't seem to
work when the control is defined in a CS file. If I put the CS file in
a library (DLL) I am able to access it, but I don't want to put it in a
library; I just want to include it in the web site like a regular file.
I have tried putting it in the root directory of the website, a custom
subdirectory, or the app_code subdirectory, without any success. Any
ideas? I am using ASP.NET 2.0

Thanks in advance,
John

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Derived::Derived(const Base&) and Derived& operator=(const Base&) developereo@hotmail.com C++ 1 05-23-2007 01:44 PM
Derived::Derived(const Base&) and Derived& operator=(const Base&) developereo@hotmail.com C++ 1 05-23-2007 12:07 AM
Question about a user control derived from DropDownList Big Daddy ASP .Net Web Controls 0 11-13-2006 05:59 PM
Question about a user control derived from DropDownList Big Daddy ASP .Net 2 11-08-2006 06:15 PM
Dynamically setting selected item in control derived from DropDownList Mario Vargas ASP .Net Building Controls 1 07-24-2006 10:04 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57