Extending Drop Down List

A

Amit

Hi Friends,

I am new in creating custom controls, what i am trying to do is take an
ASP.NET Drop Down list and add few properties to it and use it from .aspx
page.

Like i want to add a property by name "Description" to the control and i
want to acees that property as follows

<asp:DropDownList id="DDL1" runat="server" Description="Desc"
DataTextFeild="Text" DataValueFeild="Val" DataSouce=<% getDS %>>

and also to create a property that returns the data source for the
DropDownList.

Please help with this!!!!!!!


Thanks
Amit
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Extending Drop Down List 1
Drop down list/menu 3
Extending Drop Down List 0
Drop Down List issue 2
Add value to third drop down list 2
drop down list 1
Drop Down List Issue 0
Drop Down List, AutoPostBack 1

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,020
Latest member
GenesisGai

Latest Threads

Top