Dropdownlist changing event

  • Thread starter Thread starter Dave
  • Start date Start date
D

Dave

Hello.
I have two dropdownlist web controls on my webform, for example "A" and "B".
The dropdownlist "A" fills at page load, but the dropdownlist "B" must be
filled (from database) with data at dropdownlist "A" changing.
So I need fill dropdownlist "B" on changing of dropdownlist "A" and I need
handle this action at server side.
How can I do this?

Thank You.
 
set the autopostback property of A to true and then double click A from
designer. That will openup the codebehind and vs.net will associate the
correct event and will show the handler to you. populate it with whatever
calls you wish to.. ie fetch the data and associate the ddl B


--

Regards,

Hermit Dave
(http://hdave.blogspot.com)
 
Back
Top