Re: Drop Down List User Control
- From: "David Wier" <davidwier@xxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 19 Jun 2007 13:16:38 -0500
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
<jacbyrd@xxxxxxxxx> wrote in message
news:1182273798.471026.318760@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
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.
.
- References:
- Drop Down List User Control
- From: jacbyrd
- Drop Down List User Control
- Prev by Date: Re: Return Value from Stored procedure
- Next by Date: voice call from .NET
- Previous by thread: Drop Down List User Control
- Next by thread: Using related table adapters
- Index(es):
Relevant Pages
|