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,969
Messages
2,570,161
Members
46,705
Latest member
Stefkari24

Latest Threads

Top