Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Building Controls > Dependent Properties in Custom Web Server Control

Reply
Thread Tools

Dependent Properties in Custom Web Server Control

 
 
Isai
Guest
Posts: n/a
 
      10-09-2007
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

 
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
Add Dependent Assemblies to Custom Control Mauro Gagna ASP .Net Web Controls 0 05-15-2009 01:46 PM
non-dependent vs. dependent template names puzzlecracker C++ 1 08-07-2008 07:42 AM
Making Custom Control Properties Visible in Visual Studio's Properties Palette Nathan Sokalski ASP .Net Web Controls 0 10-17-2005 02:05 AM
Making Custom Control Properties Visible in Visual Studio's Properties Palette Nathan Sokalski ASP .Net 0 10-17-2005 02:05 AM
Making Custom Control Properties Visible in Visual Studio's Properties Palette Nathan Sokalski ASP .Net Building Controls 0 10-17-2005 02:05 AM



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