Dependent Properties in Custom Web Server Control

I

Isai

Hello,

I am using VB.NET in Visual Studio 2005 to develop ASP.NET 2.0 web
applications. I am developing a control library with all the custom
controls that I can use in my projects. One of the requirement is to
build a custom DropDownList with addition functionalities specific to
my project. When I tried to develop this control I faced a problem
that I have explained below.

I inherited my control from DropDownList class. I added two new
properties that are dependent on each other and their values come from
a database. I used TypeConverter to populate both properties' values
as a DropDownControl. If one property is set/changed the other
property must be repopulated depending on the first property's value.
The question is, how do I capture the changed event of one property
and repopulate the available values for other property.

Thanks,
Isai
 

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

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top