DetailsView and DropdownList binding

V

viktor

Can some body help me. Look at at the code bellow
<InsertItemTemplate>

<asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("item_id") %>'
Visible="False"></asp:TextBox>

<asp:DropDownList ID="DropDownList1" runat="server"
DataSourceID="item_retreive"

DataTextField="item_id" DataValueField="inv_mast_uid" SelectedValue='<%#
Bind("inv_mast_uid") %>' AutoPostBack="True" >

</asp:DropDownList>

</InsertItemTemplate>

after the post back inv_mastUID field is still empty. what am i doing wrong?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,767
Messages
2,569,572
Members
45,045
Latest member
DRCM

Latest Threads

Top