"Tobe" <an*******@discussions.microsoft.com> wrote in message
news:2b*****************************@phx.gbl...
We want to change the autopostback properties
(serverside) of all of the dropdownlistboxes on the
page. I am trying to loop through the
Request.Form.Items, but I can't seem to get more the the
current text value of the controls. How can I get the
controls themselves?
The Page.Controls collection hold all controls which are directly within the
page. Each control in that collection has its own Controls collection. This
allows you to recursively go through all the controls on the page to look
for DropDownList's.
Of course, you could also get a list of the ids of the DropDownLists and use
FindControl to find them.
--
John Saunders
Internet Engineer
jo***********@surfcontrol.com