Connecting Tech Pros Worldwide Forums | Help | Site Map

Fetching Data Through a DropDown

Kate Hudson
Guest
 
Posts: n/a
#1: Nov 18 '05
I'm creating a Web Form that has a lot of controls. The first control is an HTML DropDown that contains IDs populated through an ADODB Recordset object. I would like to dynamically fetch data in the remaining controls based on the ID selected in the DROPDOWN. It does not happen with the SERVERCHANGE event of the DropDown. Can someone help?
Thanks!



Ken Cox [Microsoft MVP]
Guest
 
Posts: n/a
#2: Nov 18 '05

re: Fetching Data Through a DropDown


Hi Kate,

Did you mean that nothing happens when you make a selection from the
dropdown list? If that's the problem, make sure the DDL's Autopostback
property is set to True. Then, on the SelectedIndexChanged event, populate
the other controls.

Ken
MVP [ASP.NET]

"Kate Hudson" <Kate Hudson@discussions.microsoft.com> wrote in message
news:204C4780-44C7-4393-BF3E-B0C99C76655A@microsoft.com...[color=blue]
> I'm creating a Web Form that has a lot of controls. The first control is
> an HTML DropDown that contains IDs populated through an ADODB Recordset
> object. I would like to dynamically fetch data in the remaining controls
> based on the ID selected in the DROPDOWN. It does not happen with the
> SERVERCHANGE event of the DropDown. Can someone help?
> Thanks!
>
>[/color]

Closed Thread