When you populate the ddl, in your usercontrol - are you doing it in the
page_Load event?
And if so - is it inside an Postback block?
And, is there a property you are using to get the DDL's selected item?
--
David Wier
MVP/ASPInsider
http://aspnet101.com
http://iWritePro.com
<> wrote in message
news: ups.com...
>I have created a user control that is a drop down list that pulls from
> my database. I then drop that control into a detailsview control on
> an insert item template. When I run the insert command, the drop down
> list control isn't returning a value. How can I pass the value from
> the drop down list control into the Insert Command Parameters? The
> same situation works fine when the drop down list isn't a user control
> but is created on the screen. I would like to use the usercontrol
> because I will be using these values in multiple places.
>