Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Building Controls > Extending Drop Down List

Thread Tools

Extending Drop Down List

Posts: n/a
Hi Friends,

I am trying to extend Drop Down list by adding few properties. What i did is
i inherited the DropDownList class and added few properties to my class. Now
i want to change the data Source as well. My goal is to set the dataSource
from the control tag without writing any code on the page that implements
the Control.
<customDL id="ddl" runat="server" CustomProperty="true"
DataSource="MyDataSource" DataTextField="Test" DataValueField="Val">.

Please help me with this.

Thanks in Advance
Reply With Quote

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
retrive preselected value in second drop down list from the first drop down list weiwei ASP .Net 0 01-05-2007 07:29 PM
Auto Drop down a Drop Down List Javascript 5 11-23-2005 01:35 AM
Extending Drop Down List Amit ASP .Net Web Controls 1 10-25-2005 09:47 PM
Extending Drop Down List Amit ASP .Net Web Controls 0 10-24-2005 09:21 AM
New to .NET, can I have one drop down box control the data of another drop down box using a database? SirPoonga ASP .Net 2 01-07-2005 10:44 PM